alert & console.log the action and $file

Commented out, but useful for people to uncomment to see what's
happening if path issues etc
This commit is contained in:
Matt Pass
2014-08-21 14:22:44 +01:00
parent 90a58f0300
commit 115169b16b

View File

@@ -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";';