diff --git a/src/ElFinder/ElFinder.php b/src/ElFinder/ElFinder.php index f61dba1..e430c88 100644 --- a/src/ElFinder/ElFinder.php +++ b/src/ElFinder/ElFinder.php @@ -198,7 +198,7 @@ public function __construct($opts) $doRegist = (false !== strpos($cmd, '*')); if (!$doRegist) { - $doRegist = ($_reqCmd && in_array($_reqCmd, array_map('self::getCmdOfBind', explode(' ', $cmd)))); + $doRegist = ($_reqCmd && in_array($_reqCmd, array_map('elFinder::getCmdOfBind', explode(' ', $cmd)))); } if ($doRegist) {