Changeset 2290 for trunk/upgrade.php


Ignore:
Timestamp:
Mar 23, 2008, 1:04:46 AM (16 years ago)
Author:
rvelices
Message:
  • remove compatibility with old template ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upgrade.php

    r2254 r2290  
    3030include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
    3131include_once(PHPWG_ROOT_PATH.'admin/include/functions_upgrade.php');
    32 include(PHPWG_ROOT_PATH.'include/template.php');
     32include(PHPWG_ROOT_PATH.'include/template.class.php');
    3333
    3434include(PHPWG_ROOT_PATH.'include/mysql.inc.php');
     
    7272{
    7373  $tables = array();
    74  
     74
    7575  $query = '
    7676SHOW TABLES
     
    121121{
    122122  global $last_time;
    123  
     123
    124124  $new_time = get_moment();
    125125  echo '<pre>['.get_elapsed_time($last_time, $new_time).']';
     
    195195    die('No upgrade required, the database structure is up to date');
    196196  }
    197  
     197
    198198  $template->assign(
    199199    'introduction',
     
    290290if you encounter any problem.'
    291291      );
    292    
     292
    293293    $template->assign('infos', $page['infos']);
    294    
     294
    295295    $query = '
    296296UPDATE '.USER_CACHE_TABLE.'
Note: See TracChangeset for help on using the changeset viewer.