From b95827a507f54905f32678f3a21b589bde3a2662 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 8 Apr 2007 00:46:29 +0000 Subject: [PATCH] r1535: Make sure we changemod the files we write to --- docs/datatools.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/datatools.php b/docs/datatools.php index 9766dfb..3183397 100644 --- a/docs/datatools.php +++ b/docs/datatools.php @@ -86,6 +86,7 @@ $DATASTORE = "' . addslashes(serialize($exportlist)) . '"; if (fwrite($handle, $phpfile)) { fclose($handle); + chmod('./docs/datatools_store.php', 0777); } else { @@ -216,6 +217,7 @@ FILE; FILE; file_put_contents('install/settings.php', $fout); + chmod('install/settings.php', 0777); echo 'Dumping current settings into install/settings.php'; } -- 2.43.5