EllisLab/CodeIgniter — pull request #973 by CroNiX (2012-01-25 22:27:15+00:00)
Title: Change hardcoded "application" directory to use the APPPATH constant as ...

...it would not work if you relocate /application or /system folders outside of web root.