Set doNext if not available

This commit is contained in:
mattpass
2020-02-01 13:25:33 +00:00
parent 1dec4ac941
commit a55c1405a1
14 changed files with 42 additions and 0 deletions

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "DELETED >>> ".date("D dS M Y h:i:sa").": ".$fileLoc."/".$fileName."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('deleted');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "MOVED >>> ".date("D dS M Y h:i:sa").": ".$fileLoc."/".$fileName."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('moved');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "PASTE >>> ".date("D dS M Y h:i:sa").": ".$dest."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('pasted');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "PERMS >>> ".date("D dS M Y h:i:sa").": ".$fileLoc."/".$fileName." = ".$_GET['perms']."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('perms changed');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "RENAMED >>> ".date("D dS M Y h:i:sa").": ".$fileLoc."/".$fileName."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('renamed');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "REPLACED TEXT >>> ".date("D dS M Y h:i:sa").": ".$_GET['fileRef']."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('renamed');";
$doNext .= "";

View File

@@ -52,5 +52,8 @@ if (strtolower($fileExt) == "less" && file_exists(dirname(__FILE__)."/../plugins
}
}
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('saved');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "UPLOAD >>> ".date("D dS M Y h:i:sa").": ".($uploads[0]->name)."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('uploaded');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "GET REMOTE FILE >>> ".date("D dS M Y h:i:sa").": ".$file."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('got remote file');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "NEW DIR >>> ".date("D dS M Y h:i:sa").": ".$fileLoc."/".$fileName."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('new dir');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "FAIL ".date("D dS M Y h:i:sa").": ".$_POST['username']."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('user login failed');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "login ".date("D dS M Y h:i:sa").": ".$_SESSION['username']."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('logged in');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "logout ".date("D dS M Y h:i:sa").": ".$_SESSION['username']."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('logout');";
$doNext .= "";

View File

@@ -9,5 +9,8 @@ if (!isset($_SESSION['loggedIn'])) {
// fwrite($fh, "NEW >>> ".date("D dS M Y h:i:sa").": ".$_SESSION['username']."\n");
// fclose($fh);
if (false === isset($doNext)) {
$doNext = "";
}
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('new user');";
$doNext .= "";