You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FipamoThemeKit/engine/StartKit.php

17 lines
360 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
);
}
}