From 0a6249ec21b864b9d2ddf0798dbb6efd2bf6ecb9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 24 May 2009 06:10:09 +0000 Subject: Add support for index.local.php where you can override any existing settings (useful for developers). This might be a bad idea; trying it out for now. --- index.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index d1db3ee7..815ff5f5 100644 --- a/index.php +++ b/index.php @@ -59,5 +59,9 @@ if (PHP_SAPI == 'cli') { } define('TMPPATH', VARPATH . '/tmp'); +if (file_exists("index.local.php")) { + include("index.local.php"); +} + // Initialize. require SYSPATH . 'core/Bootstrap' . EXT; -- cgit v1.2.3