From 507466ef798b18a3a8830230cfcd51bb488513cf Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Tue, 17 Aug 2021 00:30:04 +0200 Subject: Revert changes since Standardized file headers merge The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751 --- session/adodb-compress-bzip2.php | 36 +++++++----------- session/adodb-compress-gzip.php | 32 +++++++--------- session/adodb-cryptsession.php | 39 +++++++++---------- session/adodb-cryptsession2.php | 39 +++++++++---------- session/adodb-encrypt-mcrypt.php | 32 +++++++--------- session/adodb-encrypt-md5.php | 31 ++++++---------- session/adodb-encrypt-secret.php | 39 +++++++++---------- session/adodb-encrypt-sha1.php | 24 +++--------- session/adodb-session-clob.php | 39 +++++++++---------- session/adodb-session-clob2.php | 40 +++++++++----------- session/adodb-session.php | 32 ++++++---------- session/adodb-session2.php | 76 ++++++++++++++++++++++++++++---------- session/crypt.inc.php | 22 +---------- session/old/adodb-cryptsession.php | 41 +++++++++----------- session/old/adodb-session-clob.php | 38 +++++++------------ session/old/adodb-session.php | 39 +++++++------------ session/old/crypt.inc.php | 24 +----------- 17 files changed, 265 insertions(+), 358 deletions(-) (limited to 'session') diff --git a/session/adodb-compress-bzip2.php b/session/adodb-compress-bzip2.php index 17ad99fb..269fd16c 100644 --- a/session/adodb-compress-bzip2.php +++ b/session/adodb-compress-bzip2.php @@ -1,32 +1,24 @@ - */ + +/* +@version v5.22.0-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 + Contributed by Ross Smith (adodb@netebb.com). + 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. + Set tabs to 4 for best viewing. + +*/ if (!function_exists('bzcompress')) { trigger_error('bzip2 functions are not available', E_USER_ERROR); return 0; } -/** - */ +/* +*/ class ADODB_Compress_Bzip2 { /** */ diff --git a/session/adodb-compress-gzip.php b/session/adodb-compress-gzip.php index bbaf6c63..a5673031 100644 --- a/session/adodb-compress-gzip.php +++ b/session/adodb-compress-gzip.php @@ -1,23 +1,17 @@ - */ + + +/* +@version v5.22.0-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 + Contributed by Ross Smith (adodb@netebb.com). + 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. + Set tabs to 4 for best viewing. +*/ + +/* + +This file is provided for backwards compatibility purposes + +*/ if (!defined('ADODB_SESSION')) { require_once dirname(__FILE__) . '/adodb-session2.php'; diff --git a/session/adodb-session.php b/session/adodb-session.php index 9e716232..10b006cc 100644 --- a/session/adodb-session.php +++ b/session/adodb-session.php @@ -1,24 +1,16 @@ - */ + + +/* +@version v5.22.0-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 + Contributed by Ross Smith (adodb@netebb.com). + 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. + Set tabs to 4 for best viewing. +*/ /* You may want to rename the 'data' field to 'session_data' as diff --git a/session/adodb-session2.php b/session/adodb-session2.php index bf64b416..1ddc474e 100644 --- a/session/adodb-session2.php +++ b/session/adodb-session2.php @@ -1,23 +1,61 @@ - */ - +// Session Encryption by Ari Kuorikoski class MD5Crypt{ function keyED($txt,$encrypt_key) { diff --git a/session/old/adodb-cryptsession.php b/session/old/adodb-cryptsession.php index 6616de3d..33305580 100644 --- a/session/old/adodb-cryptsession.php +++ b/session/old/adodb-cryptsession.php @@ -1,29 +1,22 @@ + + Set tabs to 4 for best viewing. + + Latest version is available at https://adodb.org/ + ====================================================================== + + This file provides PHP4 session management using the ADODB database +wrapper library. + Example ======= diff --git a/session/old/adodb-session-clob.php b/session/old/adodb-session-clob.php index 864fdfd7..ef90205e 100644 --- a/session/old/adodb-session-clob.php +++ b/session/old/adodb-session-clob.php @@ -1,29 +1,19 @@ - */ - +// Session Encryption by Ari Kuorikoski class MD5Crypt{ function keyED($txt,$encrypt_key) { -- cgit v1.3