diff --git a/upload/index.php b/upload/index.php index 055368f..9c7b1bf 100644 --- a/upload/index.php +++ b/upload/index.php @@ -53,9 +53,6 @@ "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 f790327..5b65a57 100644 --- a/upload/system.php +++ b/upload/system.php @@ -49,4 +49,7 @@ ); define('META_JSON_DATA', json_encode($meta_json_data)); + +// Csrf security validation +$core->csrf_check(); ?>