diff --git a/upload/index.php b/upload/index.php index 9c7b1bf..055368f 100644 --- a/upload/index.php +++ b/upload/index.php @@ -53,6 +53,9 @@ "SEARCH" => $core->search() ); +// Csrf security validation +$core->csrf_check(); + // Write global template echo $core->sp(MCR_THEME_PATH."global.html", $data_global); diff --git a/upload/system.php b/upload/system.php index 5b65a57..f790327 100644 --- a/upload/system.php +++ b/upload/system.php @@ -49,7 +49,4 @@ ); define('META_JSON_DATA', json_encode($meta_json_data)); - -// Csrf security validation -$core->csrf_check(); ?>