From dc7eddd8d6f092231c6a76e915956e4f600255ce Mon Sep 17 00:00:00 2001 From: FightnvrGP <88279650+MchalTesla@users.noreply.github.com> Date: Fri, 2 Jun 2023 22:19:54 +0800 Subject: [PATCH] fix weblogpro.php --- weblogpro.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weblogpro.php b/weblogpro.php index f676c7c..b938844 100755 --- a/weblogpro.php +++ b/weblogpro.php @@ -289,7 +289,7 @@ function mysql_like_quote($str) } function addsa_all() { - if (!get_magic_quotes_gpc()) + if (PHP_VERSION >= 6 || !get_magic_quotes_gpc()) { if (!empty($_GET)) { @@ -537,7 +537,7 @@ function del_evil($buffer){ echo $this_SalT_hhhaaaa_Db_p->lastErrorMsg(); } else { echo "Opened database successfully\n"; - mkdir(salt_THIs_iS_Web_Dir.LogGer_Web_DiR,0777,ture); + mkdir(salt_THIs_iS_Web_Dir.LogGer_Web_DiR,0777,true); echo "web dir created seccessfully\n"; file_put_contents(salt_THIs_iS_Web_Dir.LogGer_Web_DiR."/index.html", "afjwodmcswqod",FILE_APPEND);