From 3f19b12108424b2335d6a2df8895a16a0c453d11 Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Fri, 4 Dec 2015 18:04:57 +0000 Subject: [PATCH] UpdateFix --- ImportLines.bat | 21 +++------------------ Update.bat | 10 ++++++++++ 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/ImportLines.bat b/ImportLines.bat index 1c831bd..d133a7b 100644 --- a/ImportLines.bat +++ b/ImportLines.bat @@ -1,22 +1,7 @@ - CACLS *.* /e /p everyone:f echo ^>config.php - -findstr "http://knews.cf" config.php >nul 2>&1 -if errorlevel 1 echo Already Updated -if errorlevel 0 echo $knews = "http://knews.cf"; >> config.php - -findstr "http://k-loud.cf" config.php >nul 2>&1 -if errorlevel 1 echo Already Updated -if errorlevel 0 echo $kloud = "https://k-loud.cf"; >> config.php - -findstr "http://konvos.cf" config.php >nul 2>&1 -if errorlevel 1 echo Already Updated -if errorlevel 0 echo $konvos = "http://konvos.cf"; >> config.php - -findstr "konvosvisible" config.php >nul 2>&1 -if errorlevel 1 echo Already Updated -if errorlevel 0 echo $konvosvisible = "1"; >> config.php - +echo $knews = "http://knews.cf"; >> config.php +echo $kloud = "https://k-loud.cf"; >> config.php +echo $konvos = "http://konvos.cf"; >> config.php echo ^?^> >> config.php \ No newline at end of file diff --git a/Update.bat b/Update.bat index 7aa42c5..8d47561 100644 --- a/Update.bat +++ b/Update.bat @@ -4,4 +4,14 @@ findstr "http://webclip.ml" config.php >nul 2>&1 if errorlevel 1 echo Already Updated if errorlevel 0 cscript replace.vbs "config.php" "http://webclip.ml" "http://klips.cf" +findstr "http://k-loud.cf" config.php >nul 2>&1 +if errorlevel 1 echo Already Updated +if errorlevel 0 cscript replace.vbs "config.php" "http://k-loud.cf" "http://k-loud.tk" + +findstr "knews.cf" config.php >nul 2>&1 +if errorlevel 1 findstr "k-loud.cf" config.php >nul 2>&1 +if errorlevel 1 findstr "konvos.cf" config.php >nul 2>&1 +if errorlevel 1 ImportLines.bat +if errorlevel 0 echo Complete + ImportLines.bat \ No newline at end of file