diff --git a/htdocs/includes/pear/MDB2/Driver/Datatype/Common.php b/htdocs/includes/pear/MDB2/Driver/Datatype/Common.php index 8a8e0e2ada1..0eead0ee60b 100644 --- a/htdocs/includes/pear/MDB2/Driver/Datatype/Common.php +++ b/htdocs/includes/pear/MDB2/Driver/Datatype/Common.php @@ -44,7 +44,8 @@ // // $Id$ -require_once 'MDB2/LOB.php'; +//require_once 'MDB2/LOB.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/LOB.php"; /** * @package MDB2 diff --git a/htdocs/includes/pear/MDB2/Driver/Datatype/mssql.php b/htdocs/includes/pear/MDB2/Driver/Datatype/mssql.php index 55fae632973..3eef66716d6 100644 --- a/htdocs/includes/pear/MDB2/Driver/Datatype/mssql.php +++ b/htdocs/includes/pear/MDB2/Driver/Datatype/mssql.php @@ -47,7 +47,8 @@ // $Id$ // -require_once 'MDB2/Driver/Datatype/Common.php'; +//require_once 'MDB2/Driver/Datatype/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Datatype/Common.php"; /** * MDB2 MS SQL driver diff --git a/htdocs/includes/pear/MDB2/Driver/Datatype/mysql.php b/htdocs/includes/pear/MDB2/Driver/Datatype/mysql.php index 1adc992f73b..6d6e9c670ad 100644 --- a/htdocs/includes/pear/MDB2/Driver/Datatype/mysql.php +++ b/htdocs/includes/pear/MDB2/Driver/Datatype/mysql.php @@ -46,7 +46,8 @@ // $Id$ // -require_once 'MDB2/Driver/Datatype/Common.php'; +//require_once 'MDB2/Driver/Datatype/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Datatype/Common.php"; /** * MDB2 MySQL driver diff --git a/htdocs/includes/pear/MDB2/Driver/Datatype/mysqli.php b/htdocs/includes/pear/MDB2/Driver/Datatype/mysqli.php index acae67ade4f..5dcf17f3733 100644 --- a/htdocs/includes/pear/MDB2/Driver/Datatype/mysqli.php +++ b/htdocs/includes/pear/MDB2/Driver/Datatype/mysqli.php @@ -46,7 +46,8 @@ // $Id$ // -require_once 'MDB2/Driver/Datatype/Common.php'; +//require_once 'MDB2/Driver/Datatype/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Datatype/Common.php"; /** * MDB2 MySQLi driver diff --git a/htdocs/includes/pear/MDB2/Driver/Datatype/pgsql.php b/htdocs/includes/pear/MDB2/Driver/Datatype/pgsql.php index 86e55187429..abafb2412b1 100644 --- a/htdocs/includes/pear/MDB2/Driver/Datatype/pgsql.php +++ b/htdocs/includes/pear/MDB2/Driver/Datatype/pgsql.php @@ -44,7 +44,8 @@ // // $Id$ -require_once 'MDB2/Driver/Datatype/Common.php'; +//require_once 'MDB2/Driver/Datatype/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Datatype/Common.php"; /** * MDB2 PostGreSQL driver diff --git a/htdocs/includes/pear/MDB2/Driver/Function/mssql.php b/htdocs/includes/pear/MDB2/Driver/Function/mssql.php index b76a5fe1c7a..a4ba5121036 100644 --- a/htdocs/includes/pear/MDB2/Driver/Function/mssql.php +++ b/htdocs/includes/pear/MDB2/Driver/Function/mssql.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Function/Common.php'; +//require_once 'MDB2/Driver/Function/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Function/Common.php"; // {{{ class MDB2_Driver_Function_mssql /** diff --git a/htdocs/includes/pear/MDB2/Driver/Function/mysql.php b/htdocs/includes/pear/MDB2/Driver/Function/mysql.php index 465944cb02b..ffe1b7e136d 100644 --- a/htdocs/includes/pear/MDB2/Driver/Function/mysql.php +++ b/htdocs/includes/pear/MDB2/Driver/Function/mysql.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Function/Common.php'; +//require_once 'MDB2/Driver/Function/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Function/Common.php"; /** * MDB2 MySQL driver for the function modules diff --git a/htdocs/includes/pear/MDB2/Driver/Function/mysqli.php b/htdocs/includes/pear/MDB2/Driver/Function/mysqli.php index b3a4a4ef345..85881862fad 100644 --- a/htdocs/includes/pear/MDB2/Driver/Function/mysqli.php +++ b/htdocs/includes/pear/MDB2/Driver/Function/mysqli.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Function/Common.php'; +//require_once 'MDB2/Driver/Function/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Function/Common.php"; /** * MDB2 MySQLi driver for the function modules diff --git a/htdocs/includes/pear/MDB2/Driver/Function/pgsql.php b/htdocs/includes/pear/MDB2/Driver/Function/pgsql.php index 663e58afe9e..ebf28ff1185 100644 --- a/htdocs/includes/pear/MDB2/Driver/Function/pgsql.php +++ b/htdocs/includes/pear/MDB2/Driver/Function/pgsql.php @@ -44,7 +44,8 @@ // // $Id$ -require_once 'MDB2/Driver/Function/Common.php'; +//require_once 'MDB2/Driver/Function/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Function/Common.php"; /** * MDB2 MySQL driver for the function modules diff --git a/htdocs/includes/pear/MDB2/Driver/Native/mssql.php b/htdocs/includes/pear/MDB2/Driver/Native/mssql.php index cd7f3cc88a2..88be9ff3436 100644 --- a/htdocs/includes/pear/MDB2/Driver/Native/mssql.php +++ b/htdocs/includes/pear/MDB2/Driver/Native/mssql.php @@ -45,6 +45,9 @@ // $Id$ // +//require_once 'MDB2/Driver/Native/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Native/Common.php"; + /** * MDB2 MSSQL driver for the native module * diff --git a/htdocs/includes/pear/MDB2/Driver/Native/mysql.php b/htdocs/includes/pear/MDB2/Driver/Native/mysql.php index 48e65a05fd2..b0a2c72e8af 100644 --- a/htdocs/includes/pear/MDB2/Driver/Native/mysql.php +++ b/htdocs/includes/pear/MDB2/Driver/Native/mysql.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Native/Common.php'; +//require_once 'MDB2/Driver/Native/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Native/Common.php"; /** * MDB2 MySQL driver for the native module diff --git a/htdocs/includes/pear/MDB2/Driver/Native/mysqli.php b/htdocs/includes/pear/MDB2/Driver/Native/mysqli.php index 0d6ebc5978e..4b5b466a8c0 100644 --- a/htdocs/includes/pear/MDB2/Driver/Native/mysqli.php +++ b/htdocs/includes/pear/MDB2/Driver/Native/mysqli.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Native/Common.php'; +//require_once 'MDB2/Driver/Native/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Native/Common.php"; /** * MDB2 MySQLi driver for the native module diff --git a/htdocs/includes/pear/MDB2/Driver/Native/pgsql.php b/htdocs/includes/pear/MDB2/Driver/Native/pgsql.php index 2cea2134369..9b076a4d764 100644 --- a/htdocs/includes/pear/MDB2/Driver/Native/pgsql.php +++ b/htdocs/includes/pear/MDB2/Driver/Native/pgsql.php @@ -44,7 +44,8 @@ // // $Id$ -require_once 'MDB2/Driver/Native/Common.php'; +//require_once 'MDB2/Driver/Native/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Native/Common.php"; /** * MDB2 PostGreSQL driver for the native module diff --git a/htdocs/includes/pear/MDB2/Driver/Reverse/mssql.php b/htdocs/includes/pear/MDB2/Driver/Reverse/mssql.php index c51bb7fd785..cf7dfb571d2 100644 --- a/htdocs/includes/pear/MDB2/Driver/Reverse/mssql.php +++ b/htdocs/includes/pear/MDB2/Driver/Reverse/mssql.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Reverse/Common.php'; +//require_once 'MDB2/Driver/Reverse/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Reverse/Common.php"; /** * MDB2 MSSQL driver for the schema reverse engineering module diff --git a/htdocs/includes/pear/MDB2/Driver/Reverse/mysql.php b/htdocs/includes/pear/MDB2/Driver/Reverse/mysql.php index a7b3b66830f..5a1ebbc6d41 100644 --- a/htdocs/includes/pear/MDB2/Driver/Reverse/mysql.php +++ b/htdocs/includes/pear/MDB2/Driver/Reverse/mysql.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Reverse/Common.php'; +//require_once 'MDB2/Driver/Reverse/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Reverse/Common.php"; /** * MDB2 MySQL driver for the schema reverse engineering module diff --git a/htdocs/includes/pear/MDB2/Driver/Reverse/mysqli.php b/htdocs/includes/pear/MDB2/Driver/Reverse/mysqli.php index 8938ebba702..0bfdb6f0d39 100644 --- a/htdocs/includes/pear/MDB2/Driver/Reverse/mysqli.php +++ b/htdocs/includes/pear/MDB2/Driver/Reverse/mysqli.php @@ -45,7 +45,8 @@ // $Id$ // -require_once 'MDB2/Driver/Reverse/Common.php'; +//require_once 'MDB2/Driver/Reverse/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Reverse/Common.php"; /** * MDB2 MySQLi driver for the schema reverse engineering module diff --git a/htdocs/includes/pear/MDB2/Driver/Reverse/pgsql.php b/htdocs/includes/pear/MDB2/Driver/Reverse/pgsql.php index 2eb773ce1ed..1eb4cd4d24d 100644 --- a/htdocs/includes/pear/MDB2/Driver/Reverse/pgsql.php +++ b/htdocs/includes/pear/MDB2/Driver/Reverse/pgsql.php @@ -44,7 +44,8 @@ // // $Id$ -require_once 'MDB2/Driver/Reverse/Common.php'; +//require_once 'MDB2/Driver/Reverse/Common.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2/Driver/Reverse/Common.php"; /** * MDB2 PostGreSQL driver for the schema reverse engineering module diff --git a/htdocs/includes/pear/MDB2/LOB.php b/htdocs/includes/pear/MDB2/LOB.php index 537a77e546b..d8d5fa13b5b 100644 --- a/htdocs/includes/pear/MDB2/LOB.php +++ b/htdocs/includes/pear/MDB2/LOB.php @@ -50,7 +50,8 @@ * @author Lukas Smith */ -require_once 'MDB2.php'; +//require_once 'MDB2.php'; +require_once DOL_DOCUMENT_ROOT."/includes/pear/MDB2.php"; /** * MDB2_LOB: user land stream wrapper implementation for LOB support