Compare commits

...

3 Commits

Author SHA1 Message Date
0cc1e0773d rout 2025-01-21 17:10:19 +03:00
67b3f62728 merge 2025-01-21 17:10:03 +03:00
2664f7fd78 kernel v0.1.4 2025-01-21 16:51:29 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,6 @@ class ThemeService
protected ModuleShopService $moduleShopService; protected ModuleShopService $moduleShopService;
public function __construct() public function __construct()
{ {
$this->option = new Option(); $this->option = new Option();
@ -59,6 +58,7 @@ class ThemeService
return $this->active_theme; return $this->active_theme;
} }
/** /**
* @param string $theme * @param string $theme
* @return bool * @return bool

View File

@ -5,5 +5,5 @@ use kernel\App;
use Phroute\Phroute\RouteCollector; use Phroute\Phroute\RouteCollector;
App::$collector->get('/', [MainController::class, 'actionIndex']); //App::$collector->get('/', [MainController::class, 'actionIndex']);
App::$collector->get('/example', [MainController::class, 'actionExample']); App::$collector->get('/example', [MainController::class, 'actionExample']);