Advertisement
wandrake

Untitled

Oct 31st, 2013
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1.     for ($i = 0; $i < count($dirs_array); $i++)                                
  2.     {                                                                          
  3.         $dir = $dirs_array[$i];                                                
  4.         $dir = ((is_dir($dir)) ? $dir : @phpbb_realpath($dir));                
  5.         $res = opendir($dir);                                                  
  6.         while(($file = readdir($res)) !== false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement