Refactor API structure: add internal handling, update templates, and remove deprecated files
This commit is contained in:
1 parent
313ffec92c
commit
a33de15f0c
16 files changed
+91
-29
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
class HTMLLoader {
|
||||
private $template;
|
||||
private $page;
|
||||
|
||||
function __construct() {
|
||||
// Check if Paths variables exists
|
||||
@@ -20,7 +20,7 @@ class HTMLLoader {
|
||||
}elseif (!array_key_exists("error", $json)){
|
||||
die("Error Template was not found.");
|
||||
}
|
||||
$this->template = $template;
|
||||
$this->page = $template;
|
||||
}
|
||||
|
||||
function showError($error) {
|
||||
|
||||
Reference in new issue
Block a user