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