2022-03-18 22:04:48 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace engine;
|
|
|
|
|
|
|
|
class StartKit
|
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
2023-04-07 00:57:19 +02:00
|
|
|
$config = json_decode(file_get_contents("./config.json"), true);
|
|
|
|
$theme = $config["current_theme"];
|
2022-03-18 22:04:48 +01:00
|
|
|
new ThemeEngine(
|
|
|
|
"src/themes/theme-" . $theme,
|
|
|
|
"/src/themes/theme-" . $theme . "/" . $theme
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|