16 lines
291 B
PHP
16 lines
291 B
PHP
<?php
|
|
|
|
use BitBadger\PgSQL\Documents\Configuration;
|
|
|
|
if (!function_exists('pdo')) {
|
|
/**
|
|
* Return the active PostgreSQL PDO object
|
|
*
|
|
* @return \PDO The data connection from the configuration
|
|
*/
|
|
function pdo()
|
|
{
|
|
return Configuration::getConn();
|
|
}
|
|
}
|