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