Location: PHPKode > projects > Thought Push PHP Framework > instance/controllers/doc.php
<?

RequestHandler::$stopControls = true;

$tokens = RequestHandler::$urlTokens;
array_shift($tokens);
if(!$tokens){
	$tokens[] = 'index.html';
}

if($tokens[0] == 'search.php'){
	set_include_path('/var/www/framework/doc/php/html/');
	require 'search.php';
}else{
	Display::sendFile('/var/www/framework/doc/php/html/'.implode('/',$tokens));
}
Return current item: Thought Push PHP Framework