loading ADOdb through composer

This commit is contained in:
Ralf Becker 2019-02-22 11:23:07 +01:00
parent c3a1d83dba
commit 08200bd99c
3 changed files with 60 additions and 6 deletions

View File

@ -7,8 +7,7 @@
* @package api
* @subpackage db
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2003-17 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @version $Id$
* @copyright (c) 2003-19 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
*/
namespace EGroupware\Api;
@ -17,7 +16,6 @@ if(empty($GLOBALS['egw_info']['server']['db_type']))
{
$GLOBALS['egw_info']['server']['db_type'] = 'mysql';
}
include_once(__DIR__.'/Db/ADOdb/adodb.inc.php');
/**
* Database abstraction library

View File

@ -83,7 +83,8 @@
"egroupware/projectmanager": "self.version",
"egroupware/tracker": "self.version",
"egroupware/z-push-dev": "self.version",
"egroupware/activesync": "self.version"
"egroupware/activesync": "self.version",
"egroupware/adodb-php": "self.version"
},
"require-dev": {
},

59
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "ff35ca28d0f9f612f15f203f1b3e80fe",
"content-hash": "0129834b90f9bcd8da3186b801634419",
"packages": [
{
"name": "adldap2/adldap2",
@ -481,6 +481,60 @@
"homepage": "https://www.egroupware.org/",
"time": "2019-02-11T20:00:06+00:00"
},
{
"name": "egroupware/adodb-php",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/EGroupware/ADOdb.git",
"reference": "7b7fbf591a41e4553932ed5069824bf0412df9b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/EGroupware/ADOdb/zipball/7b7fbf591a41e4553932ed5069824bf0412df9b3",
"reference": "7b7fbf591a41e4553932ed5069824bf0412df9b3",
"shasum": ""
},
"require": {
"php": "^5.3.2 || ^7.0"
},
"type": "library",
"autoload": {
"files": [
"adodb.inc.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause",
"LGPL-2.1-or-later"
],
"authors": [
{
"name": "John Lim",
"email": "jlim@natsoft.com",
"role": "Author"
},
{
"name": "Damien Regad",
"role": "Current maintainer"
},
{
"name": "Mark Newnham",
"role": "Developer"
}
],
"description": "ADOdb is a PHP database abstraction layer library",
"homepage": "http://adodb.org/",
"keywords": [
"abstraction",
"database",
"layer",
"library",
"php"
],
"time": "2019-02-22T10:09:08+00:00"
},
{
"name": "egroupware/collabora",
"version": "dev-master",
@ -2300,7 +2354,8 @@
"egroupware/projectmanager": 20,
"egroupware/tracker": 20,
"egroupware/z-push-dev": 20,
"egroupware/activesync": 20
"egroupware/activesync": 20,
"egroupware/adodb-php": 20
},
"prefer-stable": false,
"prefer-lowest": false,