Skip to content
Snippets Groups Projects
Commit f3d79472 authored by poka's avatar poka
Browse files

Adapt config.php

parent 8479fc0e
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ $legalNotice =
[
'editor' => 'Axiom-Team',
'publisher' => 'Axiom-Team',
'host' => 'P2Legal'
'host' => 'p2p.legal'
];
......@@ -17,13 +17,9 @@ $legalNotice =
// Trouver une façon de définir $rootURL sans faire ça :
if ($_SERVER['SERVER_NAME'] == 'localhost') {
$rootURL = '/www/cesium-website';
} else {
$rootURL = '';
}
/* ====== i18n ====== */
......@@ -35,15 +31,11 @@ function checkAvailableLanguages ($langList) {
$loc = setlocale(LC_ALL, $l['folder'], ($l['folder'] . '.utf8'));
if ($loc === false) {
unset($langList[$isoCode]);
} else {
$langList[$isoCode]['localeCode'] = $loc;
}
}
return $langList;
}
......@@ -95,8 +87,6 @@ bindTextDomains($textDomains);
/* ====== /i18n ====== */
include('inc/functions.php');
include('inc/display.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment