Changeset 9291

Show
Ignore:
Timestamp:
08/19/08 14:33:20 (4 months ago)
Author:
afz
Message:

for direct upgrade from 0.7.x to 0.8.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.8/jaws/html/upgrade/stages/08To081.php

    r9289 r9291  
    7676        $GLOBALS['app']->Registry->Set('/version', JAWS_VERSION); 
    7777        $GLOBALS['app']->Registry->Set('/last_update', $timestamp); 
     78        $GLOBALS['app']->Registry->Set('/config/site_url',''); 
    7879 
    7980        // Commit the changes so they get saved 
    8081        $GLOBALS['app']->Registry->commit('core'); 
    8182 
    82         $_SESSION['upgrade']['stage']++; 
     83        if (!in_array('0.8.0', $_SESSION['upgrade']['stagedVersions'])) { 
     84            $_SESSION['upgrade']['stage']++; 
     85        } 
    8386        return true; 
    8487    }