<?php /** * Pop Web Bootstrap Application Framework (http://www.popphp.org/) * * @link https://github.com/popphp/pop-bootstrap * @author Nick Sagona, III <*****@*****.**> * @copyright Copyright (c) 2009-2016 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license New BSD License */ // Require autoloader $autoloader = (include __DIR__ . '/../vendor/autoload.php'); // Create main app object, register the app module and run the app try { $app = new Pop\Application($autoloader, include __DIR__ . '/../app/config/application.php'); $app->register('app', new App\Module($app)); $app->run(); } catch (\Exception $exception) { $app = new App\Module(); $app->error($exception); }