diff options
author | Pierre Joye <pajoye@php.net> | 2006-03-08 00:43:32 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2006-03-08 00:43:32 +0000 |
commit | bb1ec86f9da24fe6b49bae68353d53ba96b7228f (patch) | |
tree | 8a395f4ff82f2bfc5dfbb143231340c80ec3d9e4 /ext/spl/examples/dbaarray.inc | |
parent | b7d6d705f1e471544418cf8febb62943ece9e8ce (diff) | |
download | php-git-bb1ec86f9da24fe6b49bae68353d53ba96b7228f.tar.gz |
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
Diffstat (limited to 'ext/spl/examples/dbaarray.inc')
-rwxr-xr-x | ext/spl/examples/dbaarray.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/spl/examples/dbaarray.inc b/ext/spl/examples/dbaarray.inc index 0bd42d425f..20b33bd278 100755 --- a/ext/spl/examples/dbaarray.inc +++ b/ext/spl/examples/dbaarray.inc @@ -51,9 +51,6 @@ class DbaArray extends DbaReader implements ArrayAccess { $data = dba_fetch($name, $this->db); if($data) { - if (ini_get('magic_quotes_runtime')) { - $data = stripslashes($data); - } //return unserialize($data); return $data; } @@ -95,4 +92,4 @@ class DbaArray extends DbaReader implements ArrayAccess } } -?>
\ No newline at end of file +?> |