From ccfde5cd4bd6ce50b5930f3052115d37c2884aa9 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sun, 20 Jan 2008 23:17:05 +0000 Subject: Place for create empty local files in install.php git-svn-id: http://piwigo.org/svn/trunk@2189 68402e56-0260-453c-a942-63ccdbb3a9ee --- install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install.php') 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', -- cgit v1.2.3