mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 11:43:26 +02:00
Rewriting the router v2
To be more flexible
This commit is contained in:
@@ -34,6 +34,10 @@ $cache = Cache::getInstance();
|
||||
// twig
|
||||
require_once SYSTEM . 'twig.php';
|
||||
|
||||
// action, used by many pages
|
||||
$action = $_REQUEST['action'] ?? '';
|
||||
define('ACTION', $action);
|
||||
|
||||
// trim values we receive
|
||||
if(isset($_POST))
|
||||
{
|
||||
|
Reference in New Issue
Block a user