4-move-modules-folder-up (#4)

Files were moved to /modules/ and tests config were changed too.
This commit is contained in:
2019-04-29 11:46:33 +00:00
committed by Gitea
parent 9afa848864
commit e945325c63
10 changed files with 24 additions and 11 deletions

View File

@ -31,7 +31,7 @@ $caches = (array) $cache->getMultiple(array(
$cachesBool = $caches["routes"] === null || $caches['templates'] === null || $caches['forms'] === null;
if (!$ap->isCacheEnabled() || $cachesBool) {
$cache->clear();
$modulesDIR = dirname(__DIR__) . "/src/Modules";
$modulesDIR = dirname(__DIR__) . "/modules";
$dirs = scandir($modulesDIR);
if ($dirs === false) {
throw new Exception("Modules folder seems is not readable, Exiting", 1);