diff --git a/install/dist/conf/debian40.conf.php b/install/dist/conf/debian40.conf.php index ac6742d01b7a2e4efb7f04a620842d5d871baa7c..9f059e3fe95a4de436382465c9e97dce6ebe5dc1 100644 --- a/install/dist/conf/debian40.conf.php +++ b/install/dist/conf/debian40.conf.php @@ -1,67 +1,65 @@ +?> \ No newline at end of file diff --git a/install/dist/conf/gentoo.conf.php b/install/dist/conf/gentoo.conf.php index 90663cd14b134715f6e79fad78177d9b7abf253d..6edd4baf99a6e680cc73a86444e83382be6a8597 100644 --- a/install/dist/conf/gentoo.conf.php +++ b/install/dist/conf/gentoo.conf.php @@ -1,67 +1,65 @@ +?> \ No newline at end of file diff --git a/install/install.php b/install/install.php index fd040cf06446c271da4d105f6fac4b956aff1e20..2e7ba60d7b3679c724dec93739cf2a3fdf4f534b 100644 --- a/install/install.php +++ b/install/install.php @@ -76,8 +76,9 @@ swriteln($inst->lng(' Following will be a few questions for primary configura swriteln($inst->lng(' Default values are in [brackets] and can be accepted with .')); swriteln($inst->lng(' Tap in "quit" (without the quotes) to stop the installer.'."\n\n")); +//** Check log file is writable (probably not root or sudo) if(!is_writable(ISPC_LOG_FILE)){ - die("ERROR: Cannot write to the log file '".ISPC_LOG_FILE."'. Are you root ?\n\n"); + die("ERROR: Cannot write to the log file '".ISPC_LOG_FILE."'. Are you root or sudo ?\n\n"); } //** Select the language