begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/5/7
* Time: 14:42
*/
defined('IN_TS') or die('Access Denied.');
//实例化redis
$redis = new Redis();
//连接
$redis->connect($TS_CF['redis']['host'], $TS_CF['redis']['port']);
//检测是否连接成功
echo "Server is running: " . $redis->ping();
// 输出结果 Server is running: +PONG