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