diff options
| author | Damien Regad <dregad@mantisbt.org> | 2021-04-30 19:18:27 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-08-14 13:09:23 +0200 |
| commit | 9df8876d51bea733efdda1f93ff3e6a5d46f015c (patch) | |
| tree | bdd427cbf5c262ba22b9c49da9c8c0fc0e7f4b39 /pear | |
| parent | 19bc8246a34a7b949c6d87d7390ea1af47a8e503 (diff) | |
| download | adodb-9df8876d51bea733efdda1f93ff3e6a5d46f015c.tar.gz adodb-9df8876d51bea733efdda1f93ff3e6a5d46f015c.tar.bz2 adodb-9df8876d51bea733efdda1f93ff3e6a5d46f015c.zip | |
Standard file header: /pear
Diffstat (limited to 'pear')
| -rw-r--r-- | pear/Auth/Container/ADOdb.php | 52 | ||||
| -rw-r--r-- | pear/auth_adodb_example.php | 23 |
2 files changed, 48 insertions, 27 deletions
diff --git a/pear/Auth/Container/ADOdb.php b/pear/Auth/Container/ADOdb.php index 494e90b9..807da9d7 100644 --- a/pear/Auth/Container/ADOdb.php +++ b/pear/Auth/Container/ADOdb.php @@ -1,36 +1,36 @@ <?php -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. See License.txt. - Set tabs to 4 for best viewing. - - Latest version is available at https://adodb.org/ - - Original Authors: Martin Jansen <mj#php.net> - Richard Tango-Lowy <richtl#arscognita.com> -*/ - -require_once 'Auth/Container.php'; -require_once 'adodb.inc.php'; -require_once 'adodb-pear.inc.php'; -require_once 'adodb-errorpear.inc.php'; - /** * Storage driver for fetching login data from a database using ADOdb-PHP. * - * This storage driver can use all databases which are supported - * by the ADBdb DB abstraction layer to fetch login data. - * See https://adodb.org/ for information on ADOdb. + * This storage driver can use all databases which are supported by the ADBdb + * abstraction layer to fetch login data. * NOTE: The ADOdb directory MUST be in your PHP include_path! * - * @author Richard Tango-Lowy <richtl@arscognita.com> - * @package Auth - * @version $Revision: 1.3 $ + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + * @author Martin Jansen <mj@php.net> + * @author Richard Tango-Lowy <richtl@arscognita.com> */ + +require_once 'Auth/Container.php'; +require_once 'adodb.inc.php'; +require_once 'adodb-pear.inc.php'; +require_once 'adodb-errorpear.inc.php'; + + class Auth_Container_ADOdb extends Auth_Container { diff --git a/pear/auth_adodb_example.php b/pear/auth_adodb_example.php index 3b7cf5e8..77af9395 100644 --- a/pear/auth_adodb_example.php +++ b/pear/auth_adodb_example.php @@ -1,5 +1,26 @@ <?php -// NOTE: The ADOdb and PEAR directories MUST be in your PHP include_path! +/** + * PEAR Auth example + * + * NOTE: The ADOdb and PEAR directories MUST be in your PHP include_path! + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ +// require_once "Auth/Auth.php"; function loginFunction() { |
