Rev | Line | |
---|
[19] | 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 | |
---|
[159] | 10 | var_dump(sfContext::getInstance()->getController()->dispatch()); |
---|
[156] | 11 | |
---|
[147] | 12 | sfContext::getInstance()->getController()->dispatch(); |
---|
Note: See
TracBrowser
for help on using the repository browser.