1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 14:16:46 +02:00

Version 1.0.0

This commit is contained in:
Sebastian
2017-04-14 21:45:15 +02:00
commit f39d60b60b
1064 changed files with 79822 additions and 0 deletions

7
system/Routes/api.php Normal file
View File

@@ -0,0 +1,7 @@
<?php
/*
use App\Controllers\ApiController;
$app->get('/api', ApiController::class . ':index' )->setName('api.index');
*/
?>

13
system/Routes/web.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
use System\Controllers\PageController;
use System\Controllers\SetupController;
if(!isset($userSettings))
{
$app->get('/setup', SetupController::class . ':setup')->setName('setup');
$app->post('/setup', SetupController::class . ':save')->setName('save');
}
$app->get('/[{params:.*}]', PageController::class . ':index');
?>