From e14c9d6c01b1fb9e4e2c99e0e7a87590e1b06529 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Tue, 29 Jan 2013 07:44:01 +0000 Subject: [PATCH] Cosmetic around the force relead feature --- bureau/admin/adm_update_domains.php | 5 +++++ bureau/admin/menu_adm.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bureau/admin/adm_update_domains.php b/bureau/admin/adm_update_domains.php index acd4410b..45b12409 100644 --- a/bureau/admin/adm_update_domains.php +++ b/bureau/admin/adm_update_domains.php @@ -34,6 +34,11 @@ if (!$admin->enabled) { exit(); } +if (! isset($L_INOTIFY_UPDATE_DOMAIN)) { + __("Missing INOTIFY_UPDATE_DOMAIN var in /etc/alternc/local/sh . Fix it!"); + die(); +} + touch($L_INOTIFY_UPDATE_DOMAIN); Header('Location: /main.php'); diff --git a/bureau/admin/menu_adm.php b/bureau/admin/menu_adm.php index e1f455bf..a463ed45 100644 --- a/bureau/admin/menu_adm.php +++ b/bureau/admin/menu_adm.php @@ -40,8 +40,8 @@ if ($mem->checkRight()) { ?>
  • ">status) __("Switch debug Off"); else __("Switch debug On"); ?>
  • - -
  • + +