dispatch(mysql_escape_string($_SERVER['QUERY_STRING'])); // ############################ /DISPATCHER // ############################ DEBUG if ((DEVEL || @$DEVEL) && DEBUG) { ob_start(); echo "
"; echo "

DELOPMENT WINDOW

"; echo "
"; if (( DEBUG || @$DEBUG ) && isset($Debug)) { if (sizeof($Debug->Debug)>0) { echo "

Debug

"; $Debug->show(); } if ((DEBUGDB || @$DEBUGDB) && isset($_root['DB'])) { echo "

Debug SQL

"; foreach ($_root['DB'] as $key=>$value) { if (sizeof($value->db_current_queries)>0) { echo "

Database: ".$key." ({$value->Options['User']}@{$value->Options['Host']}:{$value->Options['Database']})

"; if (!defined("DB_STOREALLQUERIES")) { echo "Last 10 queries:
"; } else { echo "All queries:
"; } $Debug->show($value->db_current_queries); } } } if (( DEBUGMVC || @$DEBUGMVC ) && isset($Debug)) { echo "

Debug MVC

"; echo "
Controller
"; $Debug->show($_root['Controller']); echo "
Models
"; $Debug->show($_root['Models']); echo "
View
"; $Debug->show($_root['View']); } if (( DEBUGASSIGNEDVARS || @$DEBUGASSIGNEDVARS ) && isset($Debug)) { echo "

Assigned vars

"; echo "
Layout
"; $Debug->show($_root['dataForLayout']); echo "
View
"; $Debug->show($_root['dataForView']); } if (( DEBUGSESSION || @$DEBUGSESSION ) && isset($Debug)) { echo "

Session

"; $Debug->show($Session->returnSessionVars()); } } if (( PROFILING || @$PROFILING ) && isset($Profiler)) { echo "

Profiling

"; $Profiler->printTimers(true); } if (( MICROTIME || @$MICROTIME )) { $smtime=explode(" ",$smtime); $emtime=explode(" ",microtime()); $mtime=number_format( (($emtime[1]-$smtime[1])+$emtime[0]-$smtime[0])*1000, "2",".","" )." ms"; echo "\n\n"; echo "

Total processing time

".$mtime; } echo "
"; echo "
"; $_root['Controller']->fastecho(ob_get_clean()); } // ############################ /DEBUG ?>