Welcome Guest, Not a member yet? Register   Sign In
Initialize DB Connection at Router Class instead of at Controller Class
#4

[eluser]regal2157[/eluser]
I do believe alex is in the right. If a pre_system hook won't work (I haven't tested, so I am not sure if it would work) But if that does not work, you might need to hack the core. Not sure what you are looking to do, but the router gets called around line 170 in /core/Codeigniter.php

As for multiple opening and closing connections, probably not.


Messages In This Thread
Initialize DB Connection at Router Class instead of at Controller Class - by El Forum - 10-23-2012, 07:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB