Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..')); |
---|
4 | define('SF_APP', 'platform'); |
---|
5 | define('SF_ENVIRONMENT', 'prod'); |
---|
6 | define('SF_DEBUG', false); |
---|
7 | |
---|
8 | require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); |
---|
9 | |
---|
10 | sfContext::getInstance()->getController()->dispatch(); |
---|
11 | |
---|
12 | var_dump(file_exists(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php')); |
---|
Note: See
TracBrowser
for help on using the repository browser.