public function __construct() { if (!self::$redis) { include APPPATH . "config/redis.php"; self::$redis = new Client($config); } }