Last active
March 2, 2016 09:07
-
-
Save Codenator81/42771d70641288f6176a to your computer and use it in GitHub Desktop.
Recursija
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
allFiles ( $dir, &$returnArr ) { | |
foreach( listFoldier( $dir ) as $row ) { | |
if( $row->isDir() ) allFiles( $dir . '/' $row, $returnArr ) else | |
$returnArr[] = $dir . '/' . $row; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment