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
This commit is contained in:
mistic100
2013-02-12 11:37:34 +00:00
parent e8bdcecfeb
commit 9722255086
3 changed files with 4 additions and 98 deletions
+4 -2
View File
@@ -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);