Compare commits
3 Commits
74b8f2e719
...
0cc1e0773d
Author | SHA1 | Date | |
---|---|---|---|
0cc1e0773d | |||
67b3f62728 | |||
2664f7fd78 |
@ -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
|
||||||
|
2
rout.php
2
rout.php
@ -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']);
|
Reference in New Issue
Block a user