This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
ChangeLog v0.0.8
workerman/redis 只能运行在workerman的运行环境,所以在Tinywan\Casbin\Permission::start($worker)方法里要判断下是不是workerman的运行环境。判断方法是判断下$worker是不是null。 如果是null就不做casbin初始化或者选择性初始化,避免报错。#2