root/trunk/web/frontend_dev.php

Revision 4, 371 bytes (checked in by francois, 1 year ago)

initialized application and changed externals to symfony libs

Line 
1 <?php
2
3 define('SF_ROOT_DIR',    realpath(dirname(__FILE__).'/..'));
4 define('SF_APP',         'frontend');
5 define('SF_ENVIRONMENT', 'dev');
6 define('SF_DEBUG',       true);
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.