Initial setup of basics for every project.
This commit is contained in:
Regular → Executable
Regular → Executable
+6
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'enabled' => true,
|
||||
'path' => ROOT . '/storage/database.sqlite'
|
||||
];
|
||||
|
||||
Regular → Executable
+6
-9
@@ -1,16 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'GET' => [
|
||||
'/' => 'home.php',
|
||||
'/about' => 'about.php',
|
||||
'/' => 'home.php',
|
||||
'/about' => 'about.php',
|
||||
'/sqlite' => 'sqlite.php',
|
||||
'/api/test' => 'api/example.php'
|
||||
],
|
||||
/* Some Examples
|
||||
|
||||
'POST' => [
|
||||
'/contact' => 'contact.php',
|
||||
'/api/test' => 'api/example.php'
|
||||
],
|
||||
'DELETE' => [
|
||||
'/api/todo' => 'delete_todo.php',
|
||||
],
|
||||
*/
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user