Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

ChangeLog v0.0.8

Compare
Choose a tag to compare
@Tinywan Tinywan released this 24 Feb 06:33
· 13 commits to main since this release

workerman/redis 只能运行在workerman的运行环境,所以在Tinywan\Casbin\Permission::start($worker)方法里要判断下是不是workerman的运行环境。判断方法是判断下$worker是不是null。 如果是null就不做casbin初始化或者选择性初始化,避免报错。#2