- added error_reporting if devMode
- added TestController.php - added temp function to load controllers (should load later via seo urls) - added baseTemplate for default look and feel - removed adding file extension -> always need to be .php!
This commit is contained in:
parent
9be884c8e4
commit
7ba4e3e0a6
8 changed files with 97 additions and 14 deletions
|
|
@ -22,6 +22,11 @@ if ($config->isMaintenance()) {
|
|||
echo 'Currently not available';
|
||||
exit;
|
||||
}
|
||||
//if devMode is on show all errors!
|
||||
if ($config->isDevMode()) {
|
||||
error_reporting(E_ALL);
|
||||
ini_set('error_reporting', E_ALL);
|
||||
}
|
||||
$venom = new Venom();
|
||||
$venom->initModules($modules);
|
||||
$venom->initControllers($controllers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue