mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
install: create symbolic link first
This commit is contained in:
@@ -30,6 +30,9 @@ class class_cache_redis {
|
||||
private function connect()
|
||||
{
|
||||
$config = config('database.redis');
|
||||
if (empty($config['host'])) {
|
||||
return false;
|
||||
}
|
||||
$redis = new Redis();
|
||||
$params = [
|
||||
$config['host'],
|
||||
|
||||
Reference in New Issue
Block a user