This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
library/Zend/Cache/Backend Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class Zend_Cache_Backend_Libmemcached extends Zend_Cache_Backend implements Zend
96
96
*/
97
97
public function __construct (array $ options = array ())
98
98
{
99
- if (!extension_loaded ('memcached ' ) || session_save_path () !== 'Memcache ' ) {
99
+ if (!extension_loaded ('memcached ' ) && session_save_path () !== 'Memcache ' ) {
100
100
Zend_Cache::throwException ('The memcached extension must be loaded for using this backend ! ' );
101
101
}
102
102
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class Zend_Cache_Backend_Memcached extends Zend_Cache_Backend implements Zend_Ca
119
119
*/
120
120
public function __construct (array $ options = array ())
121
121
{
122
- if (!extension_loaded ('memcache ' ) || session_save_path () !== 'Memcache ' ) {
122
+ if (!extension_loaded ('memcache ' ) && session_save_path () !== 'Memcache ' ) {
123
123
Zend_Cache::throwException ('The memcache extension must be loaded for using this backend ! ' );
124
124
}
125
125
parent ::__construct ($ options );
You can’t perform that action at this time.
0 commit comments