From ee70a108bea04c718b7a6edb97aec56f2dae2679 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 23 Mar 2008 00:04:46 +0000 Subject: - remove compatibility with old template ... git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee --- upgrade.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'upgrade.php') 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 '
['.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\'
-- 
cgit v1.2.3