Ejemplo n.º 1
0
     ob_end_clean();
     //// run fix on dropdown lists that may have been incorrectly named
     //fix_dropdown_list();
 }
 set_upgrade_progress('end', 'in_progress', 'end', 'in_progress');
 /////////////////////////Old Logger settings///////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////
 if (function_exists('deleteCache')) {
     set_upgrade_progress('end', 'in_progress', 'deleteCache', 'in_progress');
     @deleteCache();
     set_upgrade_progress('end', 'in_progress', 'deleteCache', 'done');
 }
 ///////////////////////////////////////////////////////////////////////////////
 ////	HANDLE REMINDERS
 if (empty($errors)) {
     commitHandleReminders($skippedFiles, $path);
 }
 if (file_exists(clean_path(getcwd()) . '/original451files')) {
     rmdir_recursive(clean_path(getcwd()) . '/original451files');
 }
 require_once 'modules/Administration/Administration.php';
 $admin = new Administration();
 $admin->saveSetting('system', 'adminwizard', 1);
 if ($ce_to_pro_ent) {
     //check to see if there are any new files that need to be added to systems tab
     //retrieve old modules list
     logThis('check to see if new modules exist', $path);
     $oldModuleList = array();
     $newModuleList = array();
     include $argv[3] . '/include/modules.php';
     $oldModuleList = $moduleList;
Ejemplo n.º 2
0
        $skipped_queries_Desc .= $mod_strings['LBL_UW_SKIPPED_QUERIES_ALREADY_EXIST'] . "<br />";
        foreach ($_SESSION['sqlSkippedQueries'] as $skippedQ) {
            $skipped_queries_Desc .= $skippedQ . "<br />";
        }
    }
}
$delete_chance = '';
if (isset($_SESSION['chance']) && $_SESSION['chance'] != null) {
    $delete_chance .= "<b>Remove the folder: {$_SESSION['chance']}</b><br />";
}
if (empty($mod_strings['LBL_UPGRADE_TAKES_TIME_HAVE_PATIENCE'])) {
    $mod_strings['LBL_UPGRADE_TAKES_TIME_HAVE_PATIENCE'] = 'Upgrade may take some time';
}
///////////////////////////////////////////////////////////////////////////////
////	HANDLE REMINDERS
commitHandleReminders($skippedFiles);
////	HANDLE REMINDERS
///////////////////////////////////////////////////////////////////////////////
logThis("Resetting error_reporting() to system level.");
error_reporting($standardErrorLevel);
///////////////////////////////////////////////////////////////////////////////
////	OUTPUT
$uwMain = <<<eoq
<script type="text/javascript" language="javascript">
\tfunction toggleRebuild() {
\t\tvar target = document.getElementById('rebuildResult');

\t\tif(target.innerHTML == '') {
\t\t\ttarget.innerHTML = rebuildResult; // found in UWrebuild()
\t\t} else {
\t\t\ttarget.innerHTML = '';