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