mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 02:34:54 +02:00
Make $action global (required by many scripts)
This commit is contained in:
@@ -51,6 +51,7 @@ $hooks = app()->get('hooks');
|
||||
require_once SYSTEM . 'twig.php';
|
||||
|
||||
// action, used by many pages
|
||||
global $action;
|
||||
$action = $_REQUEST['action'] ?? '';
|
||||
define('ACTION', $action);
|
||||
|
||||
|
Reference in New Issue
Block a user