Update index.php

This commit is contained in:
Frédéric FRANCE 2025-02-06 18:02:17 +01:00 committed by GitHub
parent e1c9dd32a7
commit d69636b921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
*/
// Load translation files required by the page
$langs->loadLangs(array("admin", "other", "website", "main", "errors"));
$langs->loadLangs(array("admin", "other", "website"));
// Security check
if (!$user->hasRight('website', 'read')) {