From 9722255086986740db16f9c4b57395d244ce2fb0 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 12 Feb 2013 11:37:34 +0000 Subject: 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 --- install.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'install.php') 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); -- cgit v1.2.3