//require_once('lib/cache/class.cache.php');
//require_once('lib/pear/Timer.php');
// Pass the param "true" to constructor to automatically display the results
//$timer = new Benchmark_Timer();
//$timer->start();
//$cache = new Cache();
//$cache->start();
ob_start("myFunc");
//Funkcja przechwytuj�ca bufor
function myFunc($content) {
//Sprawdzenie czy mamy do czynienia z b��dem parsowania lub b��dem fatalnym
//if (strpos($content, 'Parse error:') || strpos($content, 'Fatal error:')) {
// return 'Wyst�pi� b��d typu E_PARSE lub E_ERROR';
//}
//}
//Je�eli tryb debugowania jest w��czony,
//to dajemy wszystko na wyj�cie jak leci
return $content;
}
// G��wny plik index
require_once('application/appindex.php');
//Wy�wietlenie zawarto�ci bufora
ob_end_flush();
//$cache->end();
//$timer->stop();
//$timer->display();
?>