diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-23 00:04:46 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-23 00:04:46 +0000 |
commit | ee70a108bea04c718b7a6edb97aec56f2dae2679 (patch) | |
tree | 16e2516222dad9d798536065ab261d5a2ce00857 /upgrade.php | |
parent | 6281b24550600862f715e3fb379e1f0b405cafa8 (diff) |
- remove compatibility with old template ...
git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'upgrade.php')
-rw-r--r-- | upgrade.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/upgrade.php b/upgrade.php index effc008f9..480e9603b 100644 --- a/upgrade.php +++ b/upgrade.php @@ -29,7 +29,7 @@ define('PHPWG_ROOT_PATH', './'); include_once(PHPWG_ROOT_PATH.'include/functions.inc.php'); include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); include_once(PHPWG_ROOT_PATH.'admin/include/functions_upgrade.php'); -include(PHPWG_ROOT_PATH.'include/template.php'); +include(PHPWG_ROOT_PATH.'include/template.class.php'); include(PHPWG_ROOT_PATH.'include/mysql.inc.php'); include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); @@ -71,7 +71,7 @@ flush(); function get_tables() { $tables = array(); - + $query = ' SHOW TABLES ;'; @@ -120,7 +120,7 @@ DESC '.$table.' function print_time($message) { global $last_time; - + $new_time = get_moment(); echo '<pre>['.get_elapsed_time($last_time, $new_time).']'; echo ' '.$message; @@ -194,7 +194,7 @@ if (!isset($_GET['version'])) { die('No upgrade required, the database structure is up to date'); } - + $template->assign( 'introduction', array( @@ -289,9 +289,9 @@ define(\'PHPWG_IN_UPGRADE\', true); 'Perform a maintenance check in [Administration>General>Maintenance] if you encounter any problem.' ); - + $template->assign('infos', $page['infos']); - + $query = ' UPDATE '.USER_CACHE_TABLE.' SET need_update = \'true\' |