install: create symbolic link first

This commit is contained in:
xiaomlove
2021-01-29 01:47:26 +08:00
parent 9f1d54be61
commit 7b66c600a4
5 changed files with 17 additions and 9 deletions

View File

@@ -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'],