From 48248cf5c983096dddc63f2eecd780b867a10c0d Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Tue, 14 Jan 2014 10:24:29 +0000 Subject: [PATCH] R.I.P. semaphore 18577 --- bureau/class/config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bureau/class/config.php b/bureau/class/config.php index 6af3fd9d..ae2a0054 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -52,6 +52,7 @@ Merci de revenir plus tard."; /* Toutes les pages du bureau passent ici. On utilise une sémaphore pour s'assurer que personne ne pourra accéder à 2 pages du bureau en même temps. */ +/* * / // 1. Get a semaphore id for the alternc magic number (18577) $alternc_sem = sem_get ( 18577 ); // 2. Declare the shutdown function, that release the semaphore @@ -63,6 +64,7 @@ function alternc_shutdown() { register_shutdown_function("alternc_shutdown"); // 4. Acquire the semaphore : with that process, sem_acquire( $alternc_sem ); +/* */ if (ini_get("safe_mode")) { echo "SAFE MODE IS ENABLED for the web panel ! It's a bug in your php or apache configuration, please fix it !!";