summaryrefslogtreecommitdiffstats
path: root/application/hooks
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2012-04-30 17:04:43 +0200
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>2012-05-16 13:40:30 +0200
commit04d4091dfa551475998c351e09858e5ebdcf4482 (patch)
treebeabc46f6e973f70aee1d8d49ac7cd8bf06403f5 /application/hooks
parentb3d7443021c948134f14dfa83afda39f0f51fc80 (diff)
fix backtrace filtering
The backtrace was filtered to remove CI system files, but the filter was buggy. It would also filter out application files which happened to contain the string "system"... or ALL files, if the application directory is under /system/ (Perhaps the latter comes as a surprise, but it's explicitly mentioned in index.php and <http://codeigniter.com/wiki/mod_rewrite>). Instead, we should test whether the file is underneath BASEPATH (using realpath() to make sure we have the same sort of slashes).
Diffstat (limited to 'application/hooks')
0 files changed, 0 insertions, 0 deletions