diff options
author | Kaiwang Chen <kaiwang.chen@gmail.com> | 2013-09-12 05:54:44 +0200 |
---|---|---|
committer | Kaiwang Chen <kaiwang.chen@gmail.com> | 2013-09-12 05:54:44 +0200 |
commit | 5f0ee055ddf0624017bfcd1748445d8854c0b5ea (patch) | |
tree | 2e0fd0be855a10cc4171c2d078be6fe314a7f9aa /index.php | |
parent | 21fe9daf1cdc86cbd8800515166e19b2f8879b71 (diff) |
Remove unnecessary chdir() in the shutdown handler.
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -196,18 +196,6 @@ switch (ENVIRONMENT) } /* - *--------------------------------------------------------------- - * WORKING DIRECTORY FOR SHUTDOWN HANDLER - *--------------------------------------------------------------- - * - * CI assumes the directory containing index.php, while shutdown - * handlers execute in process's initial working directory. To make - * logging work, we need to change directory in the shutdown handler. - * - */ - define('CIPATH', getcwd()); - -/* * ------------------------------------------------------------------- * Now that we know the path, set the main path constants * ------------------------------------------------------------------- |