diff options
author | mistic100 <mistic@piwigo.org> | 2013-02-12 11:37:34 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-02-12 11:37:34 +0000 |
commit | 9722255086986740db16f9c4b57395d244ce2fb0 (patch) | |
tree | ab3bc43ef76586e797baf9488b471aca76d1e510 /install.php | |
parent | e8bdcecfeb97a8f12d7c1de06f77067a4dd307e1 (diff) |
feature:65 fix fatal error at the end of the install process, remove unused file and function
git-svn-id: http://piwigo.org/svn/trunk@20721 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | install.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/install.php b/install.php index a6d31be88..49a224583 100644 --- a/install.php +++ b/install.php @@ -311,14 +311,14 @@ define(\'DB_COLLATE\', \'\'); PHPWG_ROOT_PATH.'install/piwigo_structure-mysql.sql', DEFAULT_PREFIX_TABLE, $prefixeTable, - $dblayer + 'mysql' ); // We fill the tables with basic informations execute_sqlfile( PHPWG_ROOT_PATH.'install/config.sql', DEFAULT_PREFIX_TABLE, $prefixeTable, - $dblayer + 'mysql' ); $query = ' @@ -467,6 +467,8 @@ else } session_name($conf['session_name']); session_set_cookie_params(0, cookie_path()); + register_shutdown_function('session_write_close'); + $user = build_user(1, true); log_user($user['id'], false); |