diff options
Diffstat (limited to 'web/admin_dev.php')
-rw-r--r-- | web/admin_dev.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/admin_dev.php b/web/admin_dev.php new file mode 100644 index 0000000..931e0a7 --- /dev/null +++ b/web/admin_dev.php @@ -0,0 +1,10 @@ +<?php + +define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..')); +define('SF_APP', 'admin'); +define('SF_ENVIRONMENT', 'dev'); +define('SF_DEBUG', true); + +require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); + +sfContext::getInstance()->getController()->dispatch(); |