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