Changeset 398

Show
Ignore:
Timestamp:
06/29/09 05:19:36 (11 years ago)
Author:
kovell
Message:

Upgrades now force admin page to be run. Admin menu has an option to list settings for error reporting.

Location:
dev/common
Files:
1 added
4 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin/admin_menu.php

    r370 r398  
    5959options::oldMenu('Maintenance', "Auditing", "?a=admin_audit"); 
    6060options::oldMenu('Maintenance', "Troubleshooting", "?a=admin_troubleshooting"); 
     61options::oldMenu('Maintenance', "Settings Report", "?a=admin_status"); 
    6162options::oldMenu('Kill Import/Export', "Kill Import - files", "?a=admin_kill_import"); 
    6263options::oldMenu('Kill Import/Export', "Kill Import - csv", "?a=admin_kill_import_csv"); 
  • dev/common/includes/autoupgrade.php

    r397 r398  
    1212define(CURRENT_DB_UPDATE,config::get("DBUpdate")); 
    1313//Update version of this autoupgrade.php 
    14 define(LASTEST_DB_UPDATE,"008"); 
     14// Moved to index.php 
     15//define(LASTEST_DB_UPDATE,"008"); 
    1516 
    1617function updateDB(){ 
  • dev/common/includes/globals.php

    r397 r398  
    77else 
    88{ 
    9         $svn_rev = '397'; 
     9        $svn_rev = '398'; 
    1010} 
    1111define('SVN_REV', $svn_rev); 
  • dev/common/index.php

    r392 r398  
    137137else define('KB_CACHE', 0); 
    138138 
     139// Hardcode the DBUpdate 
     140define(LASTEST_DB_UPDATE,"008"); 
     141 
     142if(config::get('DBUpdate') < LASTEST_DB_UPDATE) $page = 'admin'; 
     143 
    139144// all admin files are now in the admin directory and preload the menu 
    140145if (substr($page, 0, 5) == 'admin')