Fixes feedback notifications

main
Yasen Pramatarov 2025-09-25 18:23:18 +03:00
parent 3695761b9e
commit d90320f5f9
1 changed files with 3 additions and 3 deletions

View File

@ -19,6 +19,9 @@ if (!Session::isValidSession()) {
exit;
}
// Get any old feedback messages
include '../app/helpers/feedback.php';
// Handle theme switching
if (isset($_GET['switch_to'])) {
$themeName = $_GET['switch_to'];
@ -64,8 +67,5 @@ $themes = $themeData;
// Generate CSRF token for the form
$csrf_token = $security->generateCsrfToken();
// Get any new feedback messages
include '../app/helpers/feedback.php';
// Load the template
include '../app/templates/theme.php';