fipamothemekit/engine/StartKit.php

17 lines
357 B
PHP

<?php
namespace engine;
class StartKit
{
public function __construct()
{
$settings = json_decode(file_get_contents("./package.json"), true);
$theme = $settings["config"]["current_theme"];
new ThemeEngine(
"src/themes/theme-" . $theme,
"/src/themes/theme-" . $theme . "/" . $theme
);
}
}