mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
10
data/symfony/skeleton/controller/controller.php
Executable file
10
data/symfony/skeleton/controller/controller.php
Executable file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
define('SF_ROOT_DIR', realpath(dirname(__file__).'/..'));
|
||||
define('SF_APP', '##APP_NAME##');
|
||||
define('SF_ENVIRONMENT', '##ENV_NAME##');
|
||||
define('SF_DEBUG', ##DEBUG##);
|
||||
|
||||
require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
|
||||
|
||||
sfContext::getInstance()->getController()->dispatch();
|
Reference in New Issue
Block a user