Skip to content

Commit

Permalink
Update list of affected files for Patcher
Browse files Browse the repository at this point in the history
  • Loading branch information
daris committed Oct 17, 2011
1 parent b6f39cf commit 5d151fe
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions patcher.affected_files.php
Expand Up @@ -6,15 +6,8 @@

function furl_get_affected_files()
{
$files = array();
$directories = array('.', 'include');
if (file_exists(PUN_ROOT.'include/attach'))
$directories[] = 'include/attach';

foreach ($directories as $directory)
$files = array_merge($files, furl_read_dir($directory));

return $files;
// Get the files of PUN_ROOT and include directory (get include recursive)
return array_merge(furl_read_dir('.'), furl_read_dir('include', true));
}

function furl_read_dir($directory, $recursive = false)
Expand Down

0 comments on commit 5d151fe

Please sign in to comment.