From 59b0e40f65b2ab7ed4f6fd8ce96f039ba7d579bc Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 18 May 2009 00:28:20 +0000 Subject: Define KOHANA as the front controller .php file. --- index.php | 1 + 1 file changed, 1 insertion(+) 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__))); -- cgit v1.2.3