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 */
|
/* Let's Remove All Files So The Don't Fall In Wrong Hands */
|
||||||
function remove(){
|
function remove(){
|
||||||
unlink(__FILE__);
|
if (!is_dir($GLOBALS["webroot"]'/lp-msh-scanner')) {
|
||||||
unlink("../sc");
|
rmdir($GLOBALS["webroot"]'/lp-msh-scanner');
|
||||||
unlink("./sc.zip");
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function norun(){
|
function norun(){
|
||||||
@@ -1107,7 +1108,7 @@ echo '<br><pre>';
|
|||||||
|
|
||||||
|
|
||||||
function version() {
|
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");
|
require_once("version.php");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user