UpdateFix

This commit is contained in:
Karl Hudgell 2015-12-04 18:04:57 +00:00
parent cb7885fd0e
commit 3f19b12108
2 changed files with 13 additions and 18 deletions

View File

@ -1,22 +1,7 @@
CACLS *.* /e /p everyone:f
echo ^<?php >>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

View File

@ -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