From 9157ff4195779fdbd2c69f4fce224110eafabe36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 19 Jan 2021 16:27:30 -0500 Subject: Remove unnecessary ROOT_PATH --- index.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/index.php b/index.php index 94ad0b3..6a744a8 100644 --- a/index.php +++ b/index.php @@ -1,15 +1,14 @@ 60) { - unlink(ROOT_PATH.'sig.php'); + unlink('sig.php'); } } @@ -329,7 +328,7 @@ if (isset($_GET['id'])) { $patterns =$decipherPatterns; $deciphers =$deciphers; - if (!file_exists(ROOT_PATH.'sig.php')) { + if (!file_exists('sig.php')) { for ($i=0; $i < count($patterns); $i++) { $executes = explode('->', $patterns[$i]); $execute=explode('.', $executes[0]); @@ -353,7 +352,7 @@ if (isset($_GET['id'])) { break; } - $myfile = fopen(ROOT_PATH.'sig.php', "a+") or die("Unable to open file!"); + $myfile = fopen('sig.php', "a+") or die("Unable to open file!"); if ($i==0) { fwrite($myfile, '