diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-18 00:28:20 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-18 00:28:20 +0000 |
commit | 59b0e40f65b2ab7ed4f6fd8ce96f039ba7d579bc (patch) | |
tree | c47597abb3dde37a1cb952df8259942b7315120d /index.php | |
parent | 70184a041dd8d18f8b6dd233896db9e8b49e8622 (diff) |
Define KOHANA as the front controller .php file.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ ini_set('display_errors', true); define('EXT', '.php'); define('DOCROOT', strtr(getcwd() . '/', DIRECTORY_SEPARATOR, '/')); +define('KOHANA', 'index.php'); // If the front controller is a symlink, change to the real docroot is_link(basename(__FILE__)) and chdir(dirname(realpath(__FILE__))); |