@ -192,8 +192,8 @@ class app {
/**
* Does load controller by calling action
*/
public function load_controller(): void {
$this->action($this->file, $this->class, $this->method, $this->params);
public function load_controller() {
return $this->action($this->file, $this->class, $this->method, $this->params);
}
} // end of app
@ -24,7 +24,10 @@ final class views {
views::ob_start();
if (\tts\site_helper::get_testing() === false) {
require_once TTS_FRAMEWORK . 'bootstrap/errors.php';
require_once TTS_FRAMEWORK . 'bootstrap/validator.php';