From 993eecfee61e502660f490bec5b394640b917bd1 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 28 May 2009 12:05:35 +0800 Subject: Rename index.local.php to local.php so that tab completion on i works. Makes running tests easier. Signed-off-by: Bharat Mediratta --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index d8fc2742..b92f7353 100644 --- a/index.php +++ b/index.php @@ -59,8 +59,8 @@ if (PHP_SAPI == 'cli') { } define('TMPPATH', VARPATH . '/tmp'); -if (file_exists("index.local.php")) { - include("index.local.php"); +if (file_exists("local.php")) { + include("local.php"); } // Initialize. -- cgit v1.2.3 From 3b3531cbb834c192339292df8ab3e9220a48d924 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 30 May 2009 15:34:03 -0700 Subject: Add a / to the end of TMPPATH to match other paths. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index b92f7353..a70053a8 100644 --- a/index.php +++ b/index.php @@ -57,7 +57,7 @@ if (PHP_SAPI == 'cli') { define('TEST_MODE', 0); define('VARPATH', strtr(realpath('var') . '/', DIRECTORY_SEPARATOR, '/')); } -define('TMPPATH', VARPATH . '/tmp'); +define('TMPPATH', VARPATH . '/tmp/'); if (file_exists("local.php")) { include("local.php"); -- cgit v1.2.3 From 1f7cec2e754ad2eb933cf76cd59a88bf49853f49 Mon Sep 17 00:00:00 2001 From: bharat Date: Mon, 1 Jun 2009 00:21:18 -0400 Subject: Change E_NONE -> 0 .. turns out E_NONE is a figment of my imagination according to http://us.php.net/manual/sl/function.error-reporting.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index a70053a8..3acbea74 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ version_compare(PHP_VERSION, '5.2.3', '<') and exit('Gallery requires PHP 5.2.3 !ini_get('short_open_tag') and exit('Gallery requires short_open_tag to be on.'); // Set the error reporting level. Use E_ALL unless you have a special need. -error_reporting(E_NONE); +error_reporting(0); // Disabling display_errors will effectively disable Kohana error display // and logging. You can turn off Kohana errors in application/config/config.php -- cgit v1.2.3