update from web
This commit is contained in:
parent
039b33aecf
commit
8d3e4a3f3b
@ -193,8 +193,8 @@ findstr "localversion" config.php >nul 2>&1
|
||||
goto END
|
||||
:END
|
||||
:ONE
|
||||
cscript replace.vbs "config.php" "1.1" "1.2"
|
||||
echo Version Updated
|
||||
cscript replace.vbs "config.php" "1.2" "1.3"
|
||||
echo Version Updated to 1.3
|
||||
goto END
|
||||
:END
|
||||
|
||||
|
@ -3,7 +3,23 @@
|
||||
New Update Available,
|
||||
|
||||
Update via update.bat
|
||||
<div id="popupfoot"> <a href="#" class="close agree">Ok, Thank you :)</a></div>
|
||||
<?php
|
||||
if(isset($_POST['submit']))
|
||||
{
|
||||
echo exec('Update.bat');
|
||||
echo '<script>parent.window.location.reload(true);</script>';
|
||||
|
||||
} else {
|
||||
// display the form
|
||||
?>
|
||||
<form action="" method="post">
|
||||
<input type="submit" name="submit" value="DO IT!">
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<div id="popupfoot"> <a href="#" class="close agree" >Not Now...</a></div>
|
||||
|
||||
</div>
|
||||
<div id="mask"></div>
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
//// KLANDING VERSION
|
||||
$remoteversion = "1.2"; //
|
||||
$remoteversion = "1.3"; //
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user