Fix bulk actions selection and set timezone earlier

Improves bulk actions in the domains view by ensuring unique domain IDs are counted and selected, preventing double-counting from desktop and mobile checkboxes. Adds CSRF token to bulk actions forms for security. Moves timezone initialization to public/index.php to ensure it is set before any date operations, and updates base layout to reflect this change.
This commit is contained in:
Hosteroid
2025-10-11 21:22:39 +03:00
parent dcb7f685dd
commit 26ad852451
3 changed files with 44 additions and 8 deletions

View File

@@ -26,8 +26,7 @@ if (!isset($appName)) {
$appTimezone = $appSettings['app_timezone'];
$appVersion = $appSettings['app_version'];
// Set PHP timezone
date_default_timezone_set($appTimezone);
// Note: Timezone is now set early in public/index.php (before controllers run)
}
?>
<!DOCTYPE html>