fipamothemekit/engine/StartKit.php

17 lines
343 B
PHP
Raw Normal View History

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