File tree Expand file tree Collapse file tree
src/phpFastCache/Drivers/Mongodb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ protected function driverConnect()
179179 throw new LogicException ('Already connected to Mongodb server ' );
180180 } else {
181181 $ host = isset ($ this ->config [ 'host ' ]) ? $ this ->config [ 'host ' ] : '127.0.0.1 ' ;
182- $ port = isset ($ server [ 'port ' ]) ? $ server [ 'port ' ] : '27017 ' ;
183- $ timeout = isset ($ server [ 'timeout ' ]) ? $ server [ 'timeout ' ] : 3 ;
182+ $ port = isset ($ this -> config [ 'port ' ]) ? $ this -> config [ 'port ' ] : '27017 ' ;
183+ $ timeout = isset ($ this -> config [ 'timeout ' ]) ? $ this -> config [ 'timeout ' ] : 3 ;
184184 $ password = isset ($ this ->config [ 'password ' ]) ? $ this ->config [ 'password ' ] : '' ;
185185 $ username = isset ($ this ->config [ 'username ' ]) ? $ this ->config [ 'username ' ] : '' ;
186186 $ collectionName = isset ($ this ->config [ 'collectionName ' ]) ? $ this ->config [ 'collectionName ' ] : 'Cache ' ;
You can’t perform that action at this time.
0 commit comments