From e1008ae61fd59da465cc4fbb1f0972cf20b4dcb3 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 30 Aug 2024 14:02:23 +0700 Subject: [PATCH] move error customer to folder user-ui --- system/boot.php | 4 ++-- ui/ui/{error-user.tpl => user-ui/error.tpl} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename ui/ui/{error-user.tpl => user-ui/error.tpl} (100%) diff --git a/system/boot.php b/system/boot.php index 6ec57409..83114a30 100644 --- a/system/boot.php +++ b/system/boot.php @@ -129,7 +129,7 @@ try { $e->getTraceAsString() ); if (!Admin::getID()) { - $ui->display('error-user.tpl'); die(); + $ui->display('user-ui/error.tpl'); die(); } $ui->assign("error_message", $e->getMessage() . '
' . $e->getTraceAsString() . '
'); $ui->assign("error_title", "PHPNuxBill Crash"); @@ -142,7 +142,7 @@ try { $e->getTraceAsString() ); if (!Admin::getID()) { - $ui->display('error-user.tpl'); die(); + $ui->display('user-ui/error.tpl'); die(); } $ui->assign("error_message", $e->getMessage() . '
' . $e->getTraceAsString() . '
'); $ui->assign("error_title", "PHPNuxBill Crash"); diff --git a/ui/ui/error-user.tpl b/ui/ui/user-ui/error.tpl similarity index 100% rename from ui/ui/error-user.tpl rename to ui/ui/user-ui/error.tpl