Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 437 Bytes
<?php
$request = ( isset( $_GET['q_url'] ) && $_GET['q_url'] ) ? $_GET['q_url'] : false;
require_once( 'AMP/Base/Config.php');
require_once( 'AMP/Dispatcher.php' );
if ( $cached_output = AMP_cached_request( )) {
print $cached_output;
exit;
}
if( $request && ( $controller = AMP_Dispatcher::respond( $request ))) {
$controller->execute( );
} else {
include( '404.php');
exit;
}
require_once("AMP/BaseFooter.php");