root/trunk/web/index.php

Revision 4, 373 bytes (checked in by francois, 3 years 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', '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
Note: See TracBrowser for help on using the browser.