fixed removal
This commit is contained in:
9
sc.php
9
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 '<br><pre>';
|
||||
|
||||
|
||||
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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user