Fix for 1st Unit Test in tts_project.

main
Robert 3 years ago
parent ebe69b4b9d
commit 6355fa0c9e
  1. 4
      src/classes/app.php
  2. 5
      src/main.inc.php

@ -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) {
views::ob_start();
}
require_once TTS_FRAMEWORK . 'bootstrap/errors.php';
require_once TTS_FRAMEWORK . 'bootstrap/validator.php';

Loading…
Cancel
Save