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