start creating new Parser

create new listener for checking view parameter
throw 404 status page if resource not found
This commit is contained in:
Manuel Raynaud
2013-02-13 19:01:51 +01:00
parent f8273b0e53
commit 106818510f
11 changed files with 153 additions and 54 deletions

View File

@@ -5,9 +5,10 @@
* @file
* Functions needed for Thelia bootstrap
*/
define('THELIA_ROOT', __DIR__ .'/../');
define('THELIA_ROOT', realpath(__DIR__ .'/../') . "/");
define('THELIA_CONF_DIR', THELIA_ROOT . '/local/config');
define('THELIA_PLUGIN_DIR', THELIA_ROOT . '/local/plugins');
define('THELIA_TEMPLATE_DIR', THELIA_ROOT . 'templates/');
$loader = require __DIR__ . "/vendor/autoload.php";