Index: trunk/FACT++/www/showlog/index.php
===================================================================
--- trunk/FACT++/www/showlog/index.php	(revision 16451)
+++ trunk/FACT++/www/showlog/index.php	(revision 16466)
@@ -312,10 +312,10 @@
 
 $prg = empty($_GET['log']) ? "dimserver" : $_GET['log'];
-$dir = $_GET['dir'];
+$dir = empty($_GET['dir']) ? "" : $_GET['dir'];
 
 if (!strpos($prg, "/")===false || !strpos($dir, "/")===false)
     return header('HTTP/1.0 403 Access forbidden.');
 
-if (empty($dir))
+if (empty($_GET['dir']))
 {
     if ($prg=="schedule")
