[eluser]Ali Fattahi[/eluser]
[quote author="Maglok" date="1291302166"]Hmm odd. I have done this quite some time ago so I am a bit rusty on it.
The concept whirls around that in the error404.php in the /errors dir you do not have access to CI stuff. So you gotta somehow end up loading a view and do whatever you want from there.
I looked through my code where I do that, but I can't seem to find anything that wouldn't make the code snippit work.[/quote]
Thanks you for your attention
it seems there isn't way to access database in error pages
i am writing a huge project with CI and it must save logs in all over the project such as error pages uri and etc in database . And database loading in error pages is my problem
Anyway thanks for yor attention