From adfb5a56bad1946360341575b6dcb737bc738ede Mon Sep 17 00:00:00 2001 From: 420Spad <49189919+420Spad@users.noreply.github.com> Date: Fri, 22 Aug 2025 10:00:04 +0200 Subject: [PATCH 1/2] Update index.php --- server/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/index.php b/server/index.php index 9e1efd3..5a03b71 120000 --- a/server/index.php +++ b/server/index.php @@ -1 +1,2 @@ -mal.php \ No newline at end of file + Date: Fri, 22 Aug 2025 10:01:03 +0200 Subject: [PATCH 2/2] Update mal.php --- server/mal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mal.php b/server/mal.php index c1d5f4c..906ef90 100644 --- a/server/mal.php +++ b/server/mal.php @@ -43,7 +43,7 @@ function mal_readline($prompt) {} // Errors/Exceptions -class Error extends Exception { +class MalError extends Exception { public $obj = null; public function __construct($obj) { parent::__construct("Mal Error", 0, null); @@ -542,7 +542,7 @@ public function get($key) { // Error/Exception functions -function mal_throw($obj) { throw new Error($obj); } +function mal_throw($obj) { throw new MalError($obj); } // String functions