10 minutes ago, Eolia said:
yes of course:
header('Proceed: '.__LINE__);
$directory = new RecursiveDirectoryIterator('.');
$directory = new DirFilter($directory);
file_put_contents(__DIR__.'/cleaner000.log', print_r($directory, true) . PHP_EOL, FILE_APPEND);
Result:
DirFilter Object
(
)
PS: the $scan variable is also empty...