diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-24 06:10:09 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-24 06:10:09 +0000 |
commit | 0a6249ec21b864b9d2ddf0798dbb6efd2bf6ecb9 (patch) | |
tree | 40c6526e1cdd43de65de81ad1fddc42d62cde5ce | |
parent | ee0bd765b6792d42eefda46f63a72e66ddd0a93a (diff) |
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.
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |