示例#1
0
                return _displayError(FILE_INCLUDE_ERROR, 'pathsetting', 'Error Code: ' . __LINE__);
            }
            require $_CONF['path_system'] . 'lib-database.php';
            $pageBody = INST_doSiteUpgrade();
        }
        if ($pageBody != '') {
            break;
        }
        // fall through here on purpose and process the plugin upgrades.....
        // at this point we have a fully updated database and core environment
    // fall through here on purpose and process the plugin upgrades.....
    // at this point we have a fully updated database and core environment
    case 'dopluginupgrade':
        require '../../lib-common.php';
        $pageBody = INST_doPrePluginUpgrade();
        $pageBody .= INST_doPluginUpgrade();
        break;
    case 'done':
        $method = $_GLFUSION['method'];
        header('Location: success.php?type=' . $method . '&language=' . $language);
        exit;
    default:
        $_GLFUSION['language'] = $language;
        $_GLFUSION['method'] = $method;
        $pageBody = INST_getLanguageTask();
        break;
}
echo INST_header();
echo $pageBody;
echo INST_footer();
exit;
示例#2
0
        require '../../lib-common.php';
        INST_doSiteConfigUpgrade();
        // fall through here on purpose and process the plugin upgrades.....
        // at this point we have a fully updated database and core environment
    // fall through here on purpose and process the plugin upgrades.....
    // at this point we have a fully updated database and core environment
    case 'dopluginupgrade':
        $pageBody = INST_doPrePluginUpgrade();
        $pageBody .= INST_doPluginUpgrade();
        break;
    case 'dofilecleanup':
        $action = 'cleanup';
        $percent_complete = 95;
        require_once '../../lib-common.php';
        $pageBody = INST_doFileCleanUp();
        break;
    case 'done':
        $method = $_GLFUSION['method'];
        header('Location: success.php?type=' . $method . '&language=' . $language);
        exit;
    default:
        $percent_complete = 10;
        $_GLFUSION['language'] = $language;
        $_GLFUSION['method'] = $method;
        $pageBody = INST_getLanguageTask();
        break;
}
echo INST_header($percent_complete);
echo $pageBody;
echo INST_footer();
exit;