summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorKaiwang Chen <kaiwang.chen@gmail.com>2013-09-12 05:54:44 +0200
committerKaiwang Chen <kaiwang.chen@gmail.com>2013-09-12 05:54:44 +0200
commit5f0ee055ddf0624017bfcd1748445d8854c0b5ea (patch)
tree2e0fd0be855a10cc4171c2d078be6fe314a7f9aa /system
parent21fe9daf1cdc86cbd8800515166e19b2f8879b71 (diff)
Remove unnecessary chdir() in the shutdown handler.
Diffstat (limited to 'system')
-rw-r--r--system/core/Common.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 0353a9d10..edfad99c5 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -600,7 +600,6 @@ if ( ! function_exists('_shutdown_handler'))
if (isset($last_error) &&
($last_error['type'] & (E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING)))
{
- chdir(CIPATH);
_exception_handler($last_error['type'], $last_error['message'], $last_error['file'], $last_error['line']);
}
}