@@ -5,6 +5,8 @@ class Core {
public static $user = null;
public static $admin = false;
+ public static $controller = "404";
+
public static $breadcrumbs = [];
public static $use_default_container = true;
@@ -18,6 +18,7 @@ try {
// Get controller
$controller = $options["controller"];
+ Core::$controller = $controller;
// Get route type
$route_type = $options["type"] ?? "page";