summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-18 00:28:20 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-18 00:28:20 +0000
commit59b0e40f65b2ab7ed4f6fd8ce96f039ba7d579bc (patch)
treec47597abb3dde37a1cb952df8259942b7315120d /index.php
parent70184a041dd8d18f8b6dd233896db9e8b49e8622 (diff)
Define KOHANA as the front controller .php file.
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 78a16f25..afd0b104 100644
--- a/index.php
+++ b/index.php
@@ -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__)));