Project

General

Profile

« Previous | Next » 

Revision 2099

Added by darkviper over 10 years ago

  1. first fixes from rev.2098

View differences:

upgrade-script.php
89 89
// --- set DEFAULT_THEME and restart if needed -------------------------------------------
90 90
if (isset($oReg->DefaultTheme) && $oReg->DefaultTheme != 'WbTheme') {
91 91
    db_update_key_value('settings', 'default_theme', 'WbTheme');
92
    $sLocation = 'Location: '.$oReg->AppUrl.filename(__FILE__);
92
    $sLocation = 'Location: '.$oReg->AppUrl.basename(__FILE__);
93 93
    header($sLocation);
94 94
    exit;
95 95
}

Also available in: Unified diff