Add /files/create.sql to allow for automated testing

This commit is contained in:
2024-01-05 17:10:16 +01:00
parent 21e0220716
commit c15952d063
3 changed files with 27 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if ($info[1] === 'elwig' || $info[1] === 'winziprint') {
$files = [];
foreach (scandir('.') as $file) {
if ($file === '.' || $file === '..' || str_ends_with($file, ".php")) continue;
if (str_starts_with($file, ".") || str_ends_with($file, ".php")) continue;
$files[$file] = [filesize($file), filemtime($file), filectime($file)];
}