fixed twig and functions

This commit is contained in:
2025-12-05 18:04:17 -08:00
parent 466d34c39f
commit 208534b5fb
2 changed files with 19 additions and 14 deletions

View File

@@ -7,6 +7,9 @@ if (file_exists(\BASEPATH . '/App/config.php')) {
require_once \FRAMEWORKPATH . '/skeleton/novaconium/App/config.php';
}
require_once \FRAMEWORKPATH . '/src/functions.php';
require_once \FRAMEWORKPATH . '/src/twig.php';
// --- Logging ---
use Novaconium\Logger;
$log = new Logger(\BASEPATH . $config['logfile'], $config['loglevel']);
@@ -47,4 +50,4 @@ $redirect = new Redirect();
// --- Router ---
use Novaconium\Router;
$router = new Router();
require_once \BASEPATH . $router->controllerPath;
require_once $router->controllerPath;