Skip to content
Permalink
Browse files

Added: iMSCP Database::getPDO() static method (return underlying PDO …

…instance bound to the given connection)
  • Loading branch information...
nuxwin committed Jun 12, 2019
1 parent f8d98e4 commit 71be5ceb4476540356c1f81ab44d4d53680af7ee
Showing with 6 additions and 0 deletions.
  1. +1 −0 CHANGELOG
  2. +5 −0 gui/library/iMSCP/Database.php
@@ -45,6 +45,7 @@ DISTRIBUTIONS
FRONTEND
Added: ACL assertions for the navigation
Added: Apache2 wildcard alias feature
Added: iMSCP Database::getPDO() static method (return underlying PDO instance bound to the given connection)
Added: Patches for zendframework/zendframework1 dependency (PHP deprecations, Zend_Navigation component enhancement, small fixes)
Added: Route injector service for i-MSCP plugins
Added: Service provider injector for i-MSCP plugins
@@ -191,6 +191,11 @@ public static function getRawInstance($connection = 'default')
{
return self::getInstance($connection);
}
public static function getPDO($connection = 'default')
{
return self::$_instances[$connection]->_db;
}
/**
* Prepares an SQL statement

0 comments on commit 71be5ce

Please sign in to comment.
You can’t perform that action at this time.