[eluser]j3nnings[/eluser]
I am trying to get CodeIgniter and phpbb 3.0 sessions to work together, but they just aren't playing properly.
The database class in both software share the same variable $db.
So when I load the database classes of phpbb, I get the following
Code:
Fatal error: Call to a member function sql_query() on a non-object in forums/includes/cache.php on line 51
I believe this is the first database call in phpbb.
Is there a way to fix this? It is impossible to rename every instance of $db in phpbb and expect to have a functioning forum.
Would it be simple enough to rename it in CodeIgniter? Can I prevent the conflict some other way?