Skip to content

Commit

Permalink
Fix scan.php bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlvtech committed Sep 17, 2018
1 parent e051fa3 commit dbf2b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$file = BASE_DIR . $file;
}
$list = scan(BASE_DIR, $exclude_files);
file_put_contents(OUTPUT_DIR, json_encode($list, JSON_UNESCAPED_UNICODE));
file_put_contents(OUTPUT_FILE, json_encode($list, JSON_UNESCAPED_UNICODE));

function scan($dir, $exclude_files = [])
{
Expand Down

0 comments on commit dbf2b92

Please sign in to comment.