show verion

This commit is contained in:
Karl Hudgell 2016-01-12 19:40:20 +00:00
parent a1fc531551
commit 039b33aecf
2 changed files with 13 additions and 3 deletions

View File

@ -172,7 +172,12 @@ findstr "localversion" config.php >nul 2>&1
goto END
:END
rem show version
rem Update Version
findstr "localversion" config.php >nul 2>&1
if errorlevel 1 goto ONE
if errorlevel 0 goto ZERO
:ZERO
findstr "showversion" config.php >nul 2>&1
if errorlevel 1 goto ONE
if errorlevel 0 goto ZERO
@ -187,5 +192,10 @@ findstr "showversion" config.php >nul 2>&1
echo showversion Updated
goto END
:END
:ONE
cscript replace.vbs "config.php" "1.1" "1.2"
echo Version Updated
goto END
:END
PAUSE

View File

@ -1,4 +1,4 @@
<?php
//// KLANDING VERSION
$remoteversion = "1.1"; //
$remoteversion = "1.2"; //
?>