mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Place for create empty local files in install.php
git-svn-id: http://piwigo.org/svn/trunk@2189 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user