Merge branch 'master' of https://git.itguild.info/ItGuild/igmf
This commit is contained in:
commit
64a6cc4340
8
app/themes/custom/CustomTheme.php
Normal file
8
app/themes/custom/CustomTheme.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace app\themes\custom;
|
||||
|
||||
class CustomTheme extends \kernel\app_themes\custom\CustomTheme
|
||||
{
|
||||
|
||||
}
|
@ -8,6 +8,8 @@
|
||||
"preview": "preview.png",
|
||||
"resource": "/resources/themes/custom",
|
||||
"resource_path": "{RESOURCES}/themes/custom",
|
||||
"theme_class": "app\\themes\\custom\\CustomTheme",
|
||||
"theme_class_file": "{APP}/themes/custom/CustomTheme.php",
|
||||
"routs": "routs/custom.php",
|
||||
"dependence": "photo,tag,qwe"
|
||||
"dependence": "photo,tag"
|
||||
}
|
31
kernel/app_themes/custom/CustomTheme.php
Normal file
31
kernel/app_themes/custom/CustomTheme.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace kernel\app_themes\custom;
|
||||
|
||||
use kernel\modules\menu\service\MenuService;
|
||||
use kernel\services\MigrationService;
|
||||
|
||||
class CustomTheme
|
||||
{
|
||||
public MenuService $menuService;
|
||||
public MigrationService $migrationService;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->menuService = new MenuService();
|
||||
$this->migrationService = new MigrationService();
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function init(): void
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
|
||||
public function deactivate(): void
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
}
|
8
kernel/app_themes/custom/services/CustomService.php
Normal file
8
kernel/app_themes/custom/services/CustomService.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace kernel\app_themes\custom\services;
|
||||
|
||||
class CustomService
|
||||
{
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user