Theme module and them to igfs add
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user