فهرست منبع

cleanup & comment

andre 7 ماه پیش
والد
کامیت
d6ec17ebf1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      controllers/SiteController.php

+ 2 - 2
controllers/SiteController.php

@@ -219,7 +219,7 @@ class SiteController {
 
         if (!file_exists($enabledConfig)) {
             http_response_code(404);
-            echo json_encode(['error' => $enabledConfig . ' file not found']);
+            echo json_encode(['error' => 'Configuration file not found']);
             return;
         }
 
@@ -253,7 +253,7 @@ class SiteController {
 
         if (!file_exists($availableConfig)) {
             http_response_code(404);
-            echo json_encode(['error' => $availableConfig . ' file not found']);
+            echo json_encode(['error' => 'Configuration file not found']);
             return;
         }