CodeIgniter Forums
Move errors folder? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Move errors folder? (/showthread.php?tid=60703)

Pages: 1 2


Move errors folder? - El Forum - 06-07-2014

[eluser]rahendz[/eluser]
hey guys, i'm new in here. I just wanna ask, to the point, is there any ways to move 'errors' folder to another directory outside the 'application' folder? just curious :3


Move errors folder? - El Forum - 06-07-2014

[eluser]CroNiX[/eluser]
You'd have to extend the Exceptions class with MY_Exceptions and override the show_error() and show_php_error() methods and change the location where it's including those hardcoded file paths.


Move errors folder? - El Forum - 06-07-2014

[eluser]rahendz[/eluser]
thanks CroNiX, i'll try that. so for now there is nothing easy way to move that folder such as cache and logs folder, right?


Move errors folder? - El Forum - 06-08-2014

[eluser]Tpojka[/eluser]
What should be the reason of moving it outside APPPATH?


Move errors folder? - El Forum - 06-08-2014

[eluser]ivantcholakov[/eluser]
Why?


Move errors folder? - El Forum - 06-08-2014

[eluser]Tpojka[/eluser]
Asking me?


Move errors folder? - El Forum - 06-08-2014

[eluser]ivantcholakov[/eluser]
No, I am asking rahendz.


Move errors folder? - El Forum - 06-08-2014

[eluser]InsiteFX[/eluser]
Makes no sense to me to move it.



Move errors folder? - El Forum - 06-08-2014

[eluser]rahendz[/eluser]
just like wordpress, it has 404 page at themes folder, so user could change the looks of 404 page by self without access the application folder. so i wanna make it happen on codeigniter lol


Move errors folder? - El Forum - 06-09-2014

[eluser]InsiteFX[/eluser]
Isn't this what custom error pages are for?