Skip to content

Commit

Permalink
support psr extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Oct 17, 2021
1 parent 86163f9 commit cae73fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,14 @@ function run(string $base, array $dirs, string $filename, array $ignore)

$dirs = [
'templates',
'vendor/psr',
'vendor/nyholm',
'vendor/mevdschee/php-crud-api/src/Tqdev/PhpCrudApi',
'src',
'webroot',
];

if (!extension_loaded('psr')) {
array_unshift($directories, 'vendor/psr');
}

run(__DIR__, $dirs, 'ui.php', $ignore);

0 comments on commit cae73fb

Please sign in to comment.