summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/functions.php b/app/functions.php
index ada96d97..e5b2977b 100644
--- a/app/functions.php
+++ b/app/functions.php
@@ -6,7 +6,7 @@ function concat_files(array $files)
{
$data = '';
foreach ($files as $pattern) {
- foreach (glob($pattern) as $filename) {
+ foreach (glob($pattern, GLOB_ERR | GLOB_NOCHECK) as $filename) {
echo $filename.PHP_EOL;
if (! file_exists($filename)) {
die("$filename not found\n");