From dc01e562050b35501acb48d42afdcd4d1390d5d1 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 8 Feb 2013 10:53:34 +0000 Subject: [PATCH] =?UTF-8?q?Bugfixe=20+=20alerte=20directory=20missing=20su?= =?UTF-8?q?r=20la=20liste=20des=20r=C3=A9pertoires?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bureau/admin/dom_edit.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index 74ccdc8e..bb03ef37 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -137,8 +137,12 @@ for($i=0;$i<$r["nsub"];$i++) { ?>
'.htmlspecialchars($r["sub"][$i]["dest"]).''; + //if ($r["sub"][$i]['type'] === 'VHOST') { + if ( $dt[$r["sub"][$i]['type']]['target'] === 'DIRECTORY') { + $iidir=$r["sub"][$i]["dest"]; + if ($iidir=='') $iidir='/'; + echo '
'.htmlspecialchars($iidir).''; + if ( ! file_exists($bro->convertabsolute($iidir,0))) { echo " "._("Directory not found").""; } } else { if ($r["sub"][$i]['type']) echo "
".htmlspecialchars($r["sub"][$i]["dest"]); }