aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-01-20 23:17:05 +0000
committerpatdenice <patdenice@piwigo.org>2008-01-20 23:17:05 +0000
commitccfde5cd4bd6ce50b5930f3052115d37c2884aa9 (patch)
treec234738cf1a02ba6740e6992bb2042a732f45a3d
parent8ead4c5b8df1796eba69ba6ab3fb71e315357651 (diff)
Place for create empty local files in install.php
git-svn-id: http://piwigo.org/svn/trunk@2189 68402e56-0260-453c-a942-63ccdbb3a9ee
-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',