|
|
|
@ -98,9 +98,9 @@ Class FSC {
@@ -98,9 +98,9 @@ Class FSC {
|
|
|
|
|
throw new Exception($error_message, 500); |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
$error_message = "Controller {$className} not exist."; |
|
|
|
|
$error_message = "Controller {$className}.php not exist."; |
|
|
|
|
if (!empty($config['theme'])) { |
|
|
|
|
$error_message = "Controller {$className} not exist in theme {$config['theme']}."; |
|
|
|
|
$error_message = "Controller {$className}.php not exist in theme {$config['theme']}."; |
|
|
|
|
} |
|
|
|
|
throw new Exception($error_message, 500); |
|
|
|
|
} |
|
|
|
|