Fixes in slugify function and router tests

This commit is contained in:
absurdo 2023-07-07 23:33:02 +02:00
parent fd88fff9d2
commit 3f22c5c267
3 changed files with 14 additions and 3 deletions

View file

@ -16,6 +16,17 @@ function controller($switch='') {
if(PhangoModule\Admin\login()) {
if($switch=='') {
echo View::load_view(['title' => 'Admin', 'content' => ''], 'dashboard');
}
else {
//Include module admin.
}
}
else {