Place for create empty local files in install.php
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2188 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
5a07213fba
commit
69b27bdc31
1 changed files with 3 additions and 3 deletions
|
@ -207,9 +207,6 @@ include(PHPWG_ROOT_PATH . 'admin/include/functions.php');
|
||||||
include(PHPWG_ROOT_PATH . 'admin/include/functions_upgrade.php');
|
include(PHPWG_ROOT_PATH . 'admin/include/functions_upgrade.php');
|
||||||
include(PHPWG_ROOT_PATH . 'include/template.php');
|
include(PHPWG_ROOT_PATH . 'include/template.php');
|
||||||
|
|
||||||
// Create empty local files to avoid log errors
|
|
||||||
create_empty_local_files();
|
|
||||||
|
|
||||||
if ( isset( $_POST['language'] ))
|
if ( isset( $_POST['language'] ))
|
||||||
{
|
{
|
||||||
$language = strip_tags($_POST['language']);
|
$language = strip_tags($_POST['language']);
|
||||||
|
@ -302,6 +299,9 @@ define(\'PHPWG_INSTALLED\', true);
|
||||||
}
|
}
|
||||||
@fputs($fp, $file_content, strlen($file_content));
|
@fputs($fp, $file_content, strlen($file_content));
|
||||||
@fclose($fp);
|
@fclose($fp);
|
||||||
|
|
||||||
|
// Create empty local files to avoid log errors
|
||||||
|
create_empty_local_files();
|
||||||
|
|
||||||
// tables creation, based on phpwebgallery_structure.sql
|
// tables creation, based on phpwebgallery_structure.sql
|
||||||
execute_sqlfile(
|
execute_sqlfile(
|
||||||
|
|
Loading…
Add table
Reference in a new issue