diff --git a/lib/file-control.php b/lib/file-control.php index 5bff096..e6b9d62 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -23,6 +23,8 @@ if (strpos($file,$docRoot)===false && $_GET['action']!="getRemoteFile") {$file=s $fileLoc = substr(str_replace($docRoot,"",$file),0,strrpos(str_replace($docRoot,"",$file),"/")); $fileName = basename($file); +// echo ";alert('".xssClean($_GET['action'],"html")." : ".$file."');console.log('".xssClean($_GET['action'],"html")." : ".$file."');"; + // If we're due to open a file... if ($_GET['action']=="load") { echo 'action="load";';