diff options
| author | Damien Regad <dregad@mantisbt.org> | 2014-04-30 10:11:55 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2014-04-30 10:16:30 +0200 |
| commit | d5e52099d61186ff0c9d0d94a0fa3b78ca19c7c2 (patch) | |
| tree | fa415b7b5726a2233ec73cc3343231d1a01ee304 /adodb-memcache.lib.inc.php | |
| parent | 0cffa1149c931e1ee28462b8e504e0da41885e7c (diff) | |
| download | adodb-d5e52099d61186ff0c9d0d94a0fa3b78ca19c7c2.tar.gz adodb-d5e52099d61186ff0c9d0d94a0fa3b78ca19c7c2.tar.bz2 adodb-d5e52099d61186ff0c9d0d94a0fa3b78ca19c7c2.zip | |
memcache: include_once() to avoid error with PHPUnit
PHPUnit 4.x+ used in conjunction with ADOdb memcache library causes a
'cannot redeclare _rs2serialize' error when including adodb-csv.inc.php.
http://phplens.com/lens/lensforum/msgs.php?id=19489
Diffstat (limited to 'adodb-memcache.lib.inc.php')
| -rw-r--r-- | adodb-memcache.lib.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adodb-memcache.lib.inc.php b/adodb-memcache.lib.inc.php index 2f3a3a21..c187cd2a 100644 --- a/adodb-memcache.lib.inc.php +++ b/adodb-memcache.lib.inc.php @@ -7,7 +7,7 @@ global $ADODB_INCLUDED_MEMCACHE; $ADODB_INCLUDED_MEMCACHE = 1; global $ADODB_INCLUDED_CSV; -if (empty($ADODB_INCLUDED_CSV)) include(ADODB_DIR.'/adodb-csvlib.inc.php'); +if (empty($ADODB_INCLUDED_CSV)) include_once(ADODB_DIR.'/adodb-csvlib.inc.php'); /* |
