Example #1
0
 public function muneeAction()
 {
     // Define webroot
     define('WEBROOT', APPLICATION_PATH . "/public");
     // Include munee.phar
     Loader::import("Munee/autoload.php");
     //Error
     ob_clean();
     // Echo out the response
     echo \Munee\Dispatcher::run(new \Munee\Request(array('css' => array('lessifyAllCss' => false), 'image' => array('checkReferrer' => false))));
     die;
 }
 /**
  * Directly outputs the return value of the munee Dispatcher object
  * run() method to emulate the approach originally used by Cody Lundquist.
  * 
  * @return void     
  */
 public function muneeAction()
 {
     echo Dispatcher::run(new Request());
     exit;
 }