mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-06-14 18:19:18 +00:00
4-move-modules-folder-up (#4)
Files were moved to /modules/ and tests config were changed too.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user