Welcome Guest, Not a member yet? Register   Sign In
Move errors folder?
#1

[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
#2

[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.
#3

[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?
#4

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

[eluser]ivantcholakov[/eluser]
Why?
#6

[eluser]Tpojka[/eluser]
Asking me?
#7

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

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

[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
#10

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




Theme © iAndrew 2016 - Forum software by © MyBB