Theme module and them to igfs add

This commit is contained in:
2025-01-19 21:23:53 +03:00
parent dac4db96af
commit 50c6ca98d8
12 changed files with 315 additions and 17 deletions

View File

@ -42,7 +42,6 @@ class App
public function load(): static
{
$this->moduleService = new ModuleService();
// $this->themeService = new ThemeService();
App::$collector = new CgRouteCollector();
$this->setRouting();
@ -57,10 +56,6 @@ class App
foreach ($modules_routs as $rout){
include "$rout";
}
// $activeTheme = getConst($this->themeService->getActiveTheme());
// if (!empty($activeTheme)){
// include $activeTheme . "/" . $this->themeService->getThemeRout($activeTheme);
// }
$themeService = new ThemeService();
$activeTheme = getConst($themeService->getActiveTheme());