UpdateFix
This commit is contained in:
parent
cb7885fd0e
commit
3f19b12108
@ -1,22 +1,7 @@
|
|||||||
|
|
||||||
CACLS *.* /e /p everyone:f
|
CACLS *.* /e /p everyone:f
|
||||||
|
|
||||||
echo ^<?php >>config.php
|
echo ^<?php >>config.php
|
||||||
|
echo $knews = "http://knews.cf"; >> config.php
|
||||||
findstr "http://knews.cf" config.php >nul 2>&1
|
echo $kloud = "https://k-loud.cf"; >> config.php
|
||||||
if errorlevel 1 echo Already Updated
|
echo $konvos = "http://konvos.cf"; >> config.php
|
||||||
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 ^?^> >> config.php
|
echo ^?^> >> config.php
|
10
Update.bat
10
Update.bat
@ -4,4 +4,14 @@ findstr "http://webclip.ml" config.php >nul 2>&1
|
|||||||
if errorlevel 1 echo Already Updated
|
if errorlevel 1 echo Already Updated
|
||||||
if errorlevel 0 cscript replace.vbs "config.php" "http://webclip.ml" "http://klips.cf"
|
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
|
ImportLines.bat
|
Loading…
x
Reference in New Issue
Block a user