aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.php b/install.php
index 38fc56875..89b8f8451 100644
--- a/install.php
+++ b/install.php
@@ -209,9 +209,6 @@ include(PHPWG_ROOT_PATH . 'admin/include/functions.php');
include(PHPWG_ROOT_PATH . 'admin/include/functions_upgrade.php');
include(PHPWG_ROOT_PATH . 'include/template.php');
-// Create empty local files to avoid log errors
-create_empty_local_files();
-
if ( isset( $_REQUEST['language'] ))
{
$language = strip_tags($_REQUEST['language']);
@@ -316,6 +313,9 @@ define(\'DB_COLLATE\', \'\');
@fputs($fp, $file_content, strlen($file_content));
@fclose($fp);
+ // Create empty local files to avoid log errors
+ create_empty_local_files();
+
// tables creation, based on phpwebgallery_structure.sql
execute_sqlfile(
PHPWG_ROOT_PATH.'install/phpwebgallery_structure.sql',