Project

General

Profile

« Previous | Next » 

Revision 2100

Added by darkviper almost 11 years ago

  1. fixes from rev.2098/99

View differences:

upgrade-script.php
87 87
$oReg = WbAdaptor::getInstance();
88 88
UpgradeHelper::checkSetupFiles(str_replace('\\', '/', __DIR__).'/');
89 89
// --- set DEFAULT_THEME and restart if needed -------------------------------------------
90
if (isset($oReg->DefaultTheme) && $oReg->DefaultTheme != 'WbTheme') {
90
if (isset($oReg->DefaultTheme) && trim($oReg->DefaultTheme, '/') != 'WbTheme') {
91 91
    db_update_key_value('settings', 'default_theme', 'WbTheme');
92 92
    $sLocation = 'Location: '.$oReg->AppUrl.basename(__FILE__);
93 93
    header($sLocation);

Also available in: Unified diff