mirror of
https://github.com/cytopia/devilbox.git
synced 2025-06-22 00:57:06 +00:00
Replace Redis password option with Redis startup options to make it more dynamic
This commit is contained in:
@ -44,7 +44,7 @@ class Redis extends BaseClass implements BaseInterface
|
||||
$this->setConnectErrno(1);
|
||||
//loadClass('Logger')->error($this->_connect_error);
|
||||
} else {
|
||||
if(array_key_exists('pass', $data)){
|
||||
if (array_key_exists('pass', $data)) {
|
||||
$redis->auth($data['pass']);
|
||||
}
|
||||
$redis->set('devilbox-version', $GLOBALS['DEVILBOX_VERSION'].' ('.$GLOBALS['DEVILBOX_DATE'].')');
|
||||
|
Reference in New Issue
Block a user