check if open_basedir is empty
This commit is contained in:
parent
ea23d01a0a
commit
293f6ff3fc
1 changed files with 9 additions and 1 deletions
|
|
@ -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>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue