This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
loumengning
/
shop
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
checkredis
undefined
娄梦宁
4 years ago
parent
eef1392937
commit
574457a12f
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
addons/unishop/controller/User.php
+ 2
- 1
addons/unishop/controller/User.php
View File
@@ -275,7 +275,8 @@ class User extends Base
}
public function checkRedis(){
php_info();
phpinfo();
die;
$redis = new Redis();
$a=$redis->handler->set("test_redis",1,86400);
$b=$redis->handler->get("test_redis");
Write
Preview
Loading…
Cancel
Save