Index: trunk/admin/category/category_maint.php =================================================================== diff -u -N -r667 -r668 --- trunk/admin/category/category_maint.php (.../category_maint.php) (revision 667) +++ trunk/admin/category/category_maint.php (.../category_maint.php) (revision 668) @@ -70,10 +70,10 @@ require_once($pathtoroot.$admin."/category/permcacheupdate.php"); - if(!$objSession->GetVariable('PermCache_UpdateRequired')) +{ die(header('Location: '.$adminURL.'/'.$objSession->GetVariable('ReturnScript').'?env='.BuildEnv())); - +} if(isset($_GET['continue'])) { $updater =& new clsCacheUpdater(1); @@ -89,14 +89,14 @@ $no_url = $_SERVER['PHP_SELF'].'?env='.BuildEnv().'&continue=0'; $yes_url = $_SERVER['PHP_SELF'].'?env='.BuildEnv().'&continue=1'; - $title = prompt_language("la_prompt_updating")." ".prompt_language("la_Text_Categories"); - int_header(NULL,NULL,$title); - flush(); if(!isset($_GET['force'])) if($updater->totalCats > CACHE_PERM_CHUNK_SIZE) { $updater->setData(); + $title = prompt_language("la_prompt_updating")." ".prompt_language("la_Text_Categories"); + int_header(NULL,NULL,$title); + flush(); ?> "; int_footer(); exit; Index: trunk/index.php =================================================================== diff -u -N -r653 -r668 --- trunk/index.php (.../index.php) (revision 653) +++ trunk/index.php (.../index.php) (revision 668) @@ -5,7 +5,6 @@ if( defined('DEBUG_MODE') ) { ini_set('error_prepend_string',''); - //ini_set('error_prepend_string',''); } else @@ -25,7 +24,7 @@ die(); } -ob_start(); +//ob_start(); $FrontEnd=1; $indexURL="../../index.php"; //Set to relative URL from the theme directory @@ -116,7 +115,7 @@ //if($objSession->SessionEnabled()) // $objSession->SaveSessionData(); //echo "Cookie:
"; print_r($_COOKIE); echo "

\n"; -ob_end_flush(); +//ob_end_flush(); $timeend = getmicrotime(); $diff = $timeend - $timestart;