From 363bf375b44d88552b13e7d246664c650c536bac Mon Sep 17 00:00:00 2001 From: zamentur Date: Sun, 22 Jun 2014 16:30:31 +0200 Subject: [PATCH] Update index.php Fix administrator links broken --- sources/admin/index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sources/admin/index.php b/sources/admin/index.php index a926cc2..884ecca 100644 --- a/sources/admin/index.php +++ b/sources/admin/index.php @@ -43,7 +43,13 @@ session_start(); include_once('../variables.php'); include_once('../fonctions.php'); -include_once('../bandeaux.php'); +if (is_readable('../bandeaux_local.php')) { + include_once('../bandeaux_local.php'); +} else { + include_once('../bandeaux.php'); +} + + // Ce fichier index.php se trouve dans le sous-repertoire ADMIN de Studs. Il sert à afficher l'intranet de studs // pour modifier les sondages directement sans avoir reçu les mails. C'est l'interface d'aministration