This commit is contained in:
Kavalar 2025-01-24 13:59:55 +03:00
commit 64a6cc4340
4 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,8 @@
<?php
namespace app\themes\custom;
class CustomTheme extends \kernel\app_themes\custom\CustomTheme
{
}

View File

@ -8,6 +8,8 @@
"preview": "preview.png", "preview": "preview.png",
"resource": "/resources/themes/custom", "resource": "/resources/themes/custom",
"resource_path": "{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", "routs": "routs/custom.php",
"dependence": "photo,tag,qwe" "dependence": "photo,tag"
} }

View 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
}
}

View File

@ -0,0 +1,8 @@
<?php
namespace kernel\app_themes\custom\services;
class CustomService
{
}