noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 270/323: check if open_basedir is empty


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 270/323: check if open_basedir is empty
Date: Wed, 14 Mar 2018 17:39:03 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 293f6ff3fc3a7a7e8264030fbf8b9533b73735ed
Author: Dany De Bontridder <address@hidden>
Date:   Sun Feb 25 09:48:07 2018 +0100

    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 20b0400..e366cb4 100644
--- a/html/install.php
+++ b/html/install.php
@@ -363,7 +363,15 @@ if ( ini_get("register_globals") == true)  {
        $flag_php++;
 }
 echo "</li>";
-
+// Check for open_basedir
+if ( ini_get("open_basedir") != "") {
+        echo "<li>";
+        echo _('Avertissement').' : '.$failed;
+       print '<span class="warning"> '._('open_basedir empêche certaines 
fonctions de Noalyss,mettez-le à vide ').'</span>';
+        echo "</li>";
+       $flag_php++;
+    
+}
  echo "</ul>";
 if ( $flag_php==0 ) {
        echo '<p class="info"> '._('php.ini est bien configuré 
').$succeed.'</p>';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]