diff --git a/sc.php b/sc.php index f3fac50..ca5042c 100644 --- a/sc.php +++ b/sc.php @@ -1076,9 +1076,10 @@ function execmd(){ /* Let's Remove All Files So The Don't Fall In Wrong Hands */ function remove(){ -unlink(__FILE__); -unlink("../sc"); -unlink("./sc.zip"); + if (!is_dir($GLOBALS["webroot"]'/lp-msh-scanner')) { + rmdir($GLOBALS["webroot"]'/lp-msh-scanner'); + } + } function norun(){ @@ -1107,7 +1108,7 @@ echo '
';
 
 
 function version() {
-// externalized the function to version.php in order to keep this cleaner tha before
+// externalized the function to version.php in order to keep this cleaner than before
 
 require_once("version.php");