diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 1c9b6f5..99a25bd 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -731,8 +731,9 @@ final class ApiController extends Controller */ public function apiReInit(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { - $p = __DIR__ . '/../../../Web/*'; + $p = __DIR__ . '/../../../Web/*'; $directories = \glob(__DIR__ . '/../../../Web/*' , \GLOB_ONLYDIR); + foreach ($directories as $directory) { if (\file_exists($path = $directory . '/Routes.php')) { \file_put_contents($path, 'getData('nav')->render(); ?>
- +
@@ -106,6 +106,26 @@ echo $this->getData('nav')->render(); ?> + $value) : $c++; $permission = $value->getPermission(); ?>
getHtml('Permissions') ?>
getHtml('Comp'); ?> getHtml('Perm'); ?>
@@ -136,37 +156,37 @@ echo $this->getData('nav')->render(); ?>
-
+
-
+
-
+
-
+
-
+
-
+
- + - + - + - + - +