loading ADOdb through composer

This commit is contained in:
Ralf Becker 2019-02-22 11:23:07 +01:00
parent 51f53153f0
commit e6df5019ba
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

@ -85,7 +85,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": "cc85994dae14ba3825477ce7bb070e16",
"content-hash": "2d9f99a348f06ad69f4d0837cbfbbbc6",
"packages": [
{
"name": "adldap2/adldap2",
@ -482,6 +482,60 @@
"homepage": "https://www.egroupware.org/",
"time": "2019-02-14T09:09:39+00:00"
},
{
"name": "egroupware/adodb-php",
"version": "17.1.x-dev",
"source": {
"type": "git",
"url": "https://github.com/EGroupware/ADOdb.git",
"reference": "84651f1fa126c5d57e40932e2e59b0fffbeeeafd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/EGroupware/ADOdb/zipball/84651f1fa126c5d57e40932e2e59b0fffbeeeafd",
"reference": "84651f1fa126c5d57e40932e2e59b0fffbeeeafd",
"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-22T09:47:51+00:00"
},
{
"name": "egroupware/ckeditor",
"version": "v4.9.2",
@ -2332,7 +2386,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,