* zin: support to set boolean value by empty args.
This commit is contained in:
@@ -40,6 +40,8 @@ class set extends setting implements iDirective
|
||||
public static function __callStatic($prop, $args): set
|
||||
{
|
||||
$set = new set();
|
||||
if(empty($args)) return $set->set($prop, true);
|
||||
|
||||
if($prop === 'class' || strtolower($prop) === 'classname')
|
||||
{
|
||||
global $config;
|
||||
|
||||
Reference in New Issue
Block a user