| Age | Commit message (Collapse) | Author | Files | Lines |
|
* remove magic_quotes stuff from adodb-xmlschema03.inc.php
always false since PHP 5.4 and finally removed by PHP 8.0
* php 8.0 compatibility for xmlschema03
(cherry picked from commit ccb68343cb9bf34981c558187d2a1fe8d2ce1b86)
|
|
Fixes #265
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Original commits squashed; commit message reworded; updated changelog.
|
|
|
|
Conflicts:
adodb.inc.php
docs/changelog.md
|
|
Magic quotes were removed from PHP in v5.4.0.
The return value of `get_magic_quotes_runtime()` will be 0 if
`magic_quotes_runtime` is off, 1 otherwise. And as of PHP 5.4.0, it will
always returns `false`.
This minor change prevents trying to set the ini value when the ini
rective is not available and cleans up some old/unused/commented out
code.
Refs:
* http://php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime
* http://php.net/manual/en/function.get-magic-quotes-runtime.php
Fixes #407
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Minor changes to original commit message
|
|
Until now, the attribute was simply ignored for mysqli.
Fixes #267
|
|
unset($this) throws a fatal error on linting. Use internal
garbage collection to clean up old objects instead.
Fixes #257
Signed-off-by: Damien Regad <dregad@mantisbt.org>
As per PHP manual, "It is not possible to unset $this inside an object
method since PHP 5." (see http://php.net/manual/function.unset, Notes
section)
|
|
dbTable::_tag_open() throws "Only variables should be passed by
reference" error when processing INDEX and DATA tags.
Fixes #229, fixes #260
|
|
This is the original commit from @valioz, rebased on latest master
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Conflicts:
drivers/adodb-db2ora.inc.php
drivers/adodb-mssqlpo.inc.php
drivers/adodb-odbc_oracle.inc.php
|
|
|
|
This patch addresses these issues when given $prefix and $stripprefix
parameters.
- missing param for the schema when calling MetaTables()
- no table were returned if $stripprefix was true ($table name stripped,
then later a sql select on that table name live, lol).
- prefixes like 'mydbprefix_db1_' should not allow other tables starting
'mydbprefixXdb1_' or 'mydbprefix_db1X' to be matched as table for the
result.
Tested only with mysqli.
Fixes #92
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
http://php.net/manual/en/language.basic-syntax.phptags.php
|
|
- Move all files in adodb5/ to root
- Remove adodb-for-php4/ directory
|