Development

/branches/1.0/data/skeleton/controller/controller.php

You must first sign up to be able to contribute.

root/branches/1.0/data/skeleton/controller/controller.php

Revision 1686, 389 bytes (checked in by fabien, 8 years ago)

added init-controller pake task (closes #817 - patch from joesimms)

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 define('SF_ROOT_DIR',    realpath(dirname(__file__).'/..'));
4 define('SF_APP',         '##APP_NAME##');
5 define('SF_ENVIRONMENT', '##ENV_NAME##');
6 define('SF_DEBUG',       ##DEBUG##);
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
Note: See TracBrowser for help on using the browser.