mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
PHP7 errors fix.
Warning: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP.
This commit is contained in:
parent
2cd07067de
commit
c58b5bf4bf
6 changed files with 9 additions and 9 deletions
2
classes/cache/CacheRedis.class.php
vendored
2
classes/cache/CacheRedis.class.php
vendored
|
|
@ -37,7 +37,7 @@ class CacheRedis extends CacheBase
|
|||
* @param string $url url of Redis
|
||||
* @return void
|
||||
*/
|
||||
function CacheRedis($url)
|
||||
function __construct($url)
|
||||
{
|
||||
//$config['url'] = 'redis://localhost:6379/1';
|
||||
$config['url'] = is_array($url) ? reset($url) : $url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue