Jump to content

Edit History

El Capitan

El Capitan

10 minutes ago, Eolia said:

$directory is defined at line 61 and overridden at line 62

image.png.4ece45dd41d927c6e6b0d32b8a034bef.png

 

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...

El Capitan

El Capitan

4 minutes ago, Eolia said:

$directory is defined at line 61 and overridden at line 62

image.png.4ece45dd41d927c6e6b0d32b8a034bef.png

 

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
(
)
 

×
×
  • Create New...