diff --git a/lib/file-control.php b/lib/file-control.php index c07eb3c..87e0857 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -39,7 +39,7 @@ for ($i=0; $i"); + die("alert('Sorry - problem with file/folder requested');window.history.back();"); }; } diff --git a/lib/properties.php b/lib/properties.php index 4c49650..8399d6d 100644 --- a/lib/properties.php +++ b/lib/properties.php @@ -7,7 +7,7 @@ $t = $text['properties']; $fileName=realpath($docRoot.$iceRoot.str_replace("|","/",strClean($_GET['fileName']))); // If it doesn't exist, or doesn't start with the $docRoot, stop here if (!file_exists($fileName) || strpos(str_replace("\\","/",$fileName),$docRoot) !== 0) { - die(""); + die(""); } ?>