Skip to content

Commit

Permalink
Update database.php
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Nov 10, 2024
1 parent 7e67e11 commit 7d787b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
'persistent' => @$config['database_persistent']
));

global $db;
$db = POT::getInstance()->getDBHandle();
$capsule = new Capsule;
$capsule->addConnection([
Expand Down

0 comments on commit 7d787b4

Please sign in to comment.