fix update?

This commit is contained in:
Karl Hudgell 2016-03-19 10:36:35 +00:00
parent 42c1c60d71
commit 2af51311da

View File

@ -44,7 +44,7 @@ findstr "https://k-loud.tk" config.php >nul 2>&1
if errorlevel 0 goto ZERO
goto END
:ZERO
cscript replace.vbs "config.php" "https://k-loud.cf" "https://k-loud.tk"
cscript C:\inetpub\wwwroot\Klanding\replace.vbs "config.php" "https://k-loud.cf" "https://k-loud.tk"
echo Kloud Updated
goto END
:ONE
@ -93,7 +93,7 @@ findstr "http://webclip.ml" config.php >nul 2>&1
if errorlevel 0 goto ZERO
goto END
:ZERO
cscript replace.vbs "config.php" "http://webclip.ml" "http://klips.cf"
cscript C:\inetpub\wwwroot\Klanding\replace.vbs "config.php" "http://webclip.ml" "http://klips.cf"
echo WebClip Updated
goto END
:ONE
@ -107,7 +107,7 @@ findstr "http://kknowledge.tk" config.php >nul 2>&1
if errorlevel 0 goto ZERO
goto END
:ZERO
cscript replace.vbs "config.php" "http://kknowledge.tk" "kknowledge.ml"
cscript C:\inetpub\wwwroot\Klanding\replace.vbs "config.php" "http://kknowledge.tk" "kknowledge.ml"
echo kknowledge URL Updated
:ONE
echo kknowledge URL Already Updated
@ -122,7 +122,7 @@ findstr "smifftser.youdontcare.com" config.php >nul 2>&1
if errorlevel 0 goto ZERO
goto END
:ZERO
cscript replace.vbs "config.php" "smifftser.youdontcare.com" "smiffster.ddns.net"
cscript C:\inetpub\wwwroot\Klanding\replace.vbs "config.php" "smifftser.youdontcare.com" "smiffster.ddns.net"
echo Kris URL Updated
:ONE
echo Kris URL Already Updated
@ -392,7 +392,7 @@ findstr "localversion" config.php >nul 2>&1
goto END
:END
:ONE
cscript replace.vbs "config.php" "2.2" "2.3"
cscript C:\inetpub\wwwroot\Klanding\replace.vbs "config.php" "2.2" "2.3"
echo Version Updated to 2.3
goto END
:END