Hi, I fall into an infinite loop when I try to return an array of directories:

php: return array('test1', 'test2');

I think it could be fixed by doing the evaluation in two steps in imce_process_directories():

$phpcode = substr($directory['name'], 4);
$directory['name'] = eval($phpcode);

Comments

ufku’s picture

Status: Active » Closed (cannot reproduce)

It's probably your PHP code that caused infinite loop.
$directory['name'] = eval(substr($directory['name'], 4)); can not be the source of the loop unless there is something wrong with the evaluated code.