Fixed a path issue
This commit is contained in:
parent
4ec361ea18
commit
c481827935
@ -90,13 +90,6 @@ $path = BASE_DIR . "/databases/";
|
|||||||
|
|
||||||
foreach(pdo_drivers() as $d)
|
foreach(pdo_drivers() as $d)
|
||||||
{
|
{
|
||||||
|
|
||||||
// Use the ibase_functions over PDO::Firebird, at least for now
|
|
||||||
if($d == 'firebird')
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
$file = "{$path}{$d}.php";
|
$file = "{$path}{$d}.php";
|
||||||
|
|
||||||
if(is_file($file))
|
if(is_file($file))
|
||||||
@ -109,7 +102,7 @@ foreach(pdo_drivers() as $d)
|
|||||||
// Load Firebird if there is support
|
// Load Firebird if there is support
|
||||||
if(function_exists('ibase_connect'))
|
if(function_exists('ibase_connect'))
|
||||||
{
|
{
|
||||||
require_once("{$path}firebird.php");
|
require_once("{$path}firebird-ibase.php");
|
||||||
require_once("{$path}firebird_sql.php");
|
require_once("{$path}firebird_sql.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ foreach(pdo_drivers() as $d)
|
|||||||
// Load Firebird if there is support
|
// Load Firebird if there is support
|
||||||
if(function_exists('ibase_connect') && ! in_array('firebird', pdo_drivers()))
|
if(function_exists('ibase_connect') && ! in_array('firebird', pdo_drivers()))
|
||||||
{
|
{
|
||||||
require_once("{$src_path}firebird-base.php");
|
require_once("{$src_path}firebird-ibase.php");
|
||||||
require_once("{$src_path}firebird_sql.php");
|
require_once("{$src_path}firebird_sql.php");
|
||||||
require_once("{$test_path}firebird.php");
|
require_once("{$test_path}firebird.php");
|
||||||
}
|
}
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user