Add templates.json and fix bugs

This commit is contained in:
admin committed 2026-10-02 07:11:57 +00:00
1 parent dd33901255
commit 7dffa95fed
7 files changed
+36 -4

No files matched your search

Regular → Executable
+8 -1
View File
@@ -1,6 +1,13 @@
<?php
class gb {
function __construct() {
function __construct($debug) {
// Debug
if ($debug) {
error_reporting(E_ALL);
ini_set("display_errors", 1);
ini_set("display_startup_errors", 1);
}
// Define Paths
define("APP_PATH", __DIR__ . "/..");
define("FRONTEND_PATH", __DIR__ . "/");