From 293f6ff3fc3a7a7e8264030fbf8b9533b73735ed Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 25 Feb 2018 09:48:07 +0100 Subject: [PATCH] check if open_basedir is empty --- html/install.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/html/install.php b/html/install.php index 20b0400c0..e366cb435 100644 --- a/html/install.php +++ b/html/install.php @@ -363,7 +363,15 @@ if ( ini_get("register_globals") == true) { $flag_php++; } echo ""; - +// Check for open_basedir +if ( ini_get("open_basedir") != "") { + echo "
  • "; + echo _('Avertissement').' : '.$failed; + print ' '._('open_basedir empêche certaines fonctions de Noalyss,mettez-le à vide ').''; + echo "
  • "; + $flag_php++; + +} echo ""; if ( $flag_php==0 ) { echo '

    '._('php.ini est bien configuré ').$succeed.'

    ';