fipamothemekit/engine/StartKit.php
are0h b5877e2385 Updating files and added php formatting
First commit to the new repo so I'm doing a bit of housecleaning, which
is cleaning up some old files, adding some changes that had been made
elsewhere and adding a php format config file to normalize formatting
across multiple projects.
2022-10-21 13:35:12 -07:00

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
);
}
}