Fix flt_class, return wrong val
This commit is contained in:
parent
37f6de1a1a
commit
6252899428
|
@ -79,10 +79,12 @@ function flt_class($val, $name, $struct, $args)
|
|||
|
||||
if(is_string($val))
|
||||
{
|
||||
if(strpos($val, '@') === 0)
|
||||
$val = substr($val, 1) . '.conf.js';
|
||||
$conf_path = $val;
|
||||
|
||||
if(strpos($conf_path, '@') === 0)
|
||||
$conf_path = substr($conf_path, 1) . '.conf.js';
|
||||
|
||||
$conf_path = \taskman\config_real_path($val);
|
||||
$conf_path = \taskman\config_real_path($conf_path);
|
||||
|
||||
$lines = file($conf_path);
|
||||
foreach($lines as $line)
|
||||
|
|
Loading…
Reference in New Issue