This commit is contained in:
Shish
2020-06-24 17:02:24 +01:00
parent bd9808081e
commit b893da927f
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ function list_files(string $base, string $_sub_dir=""): array
$files = [];
$dir = opendir("$base/$_sub_dir");
if($dir===false) {
if ($dir===false) {
throw new SCoreException("Unable to open directory $base/$_sub_dir");
}
try {