Merge branch 'master' of http://kithub.ml/karl/Klanding
This commit is contained in:
commit
808394bdb8
@ -258,8 +258,8 @@ findstr "localversion" config.php >nul 2>&1
|
|||||||
goto END
|
goto END
|
||||||
:END
|
:END
|
||||||
:ONE
|
:ONE
|
||||||
cscript replace.vbs "config.php" "1.7" "2.0"
|
cscript replace.vbs "config.php" "2.0" "2.1"
|
||||||
echo Version Updated to 2.0
|
echo Version Updated to 2.1
|
||||||
goto END
|
goto END
|
||||||
:END
|
:END
|
||||||
|
|
||||||
|
6
main.php
6
main.php
@ -94,6 +94,12 @@ $('.window').hide();
|
|||||||
<?php include 'config.php';?>
|
<?php include 'config.php';?>
|
||||||
<?php include 'http://home.k-world.me.uk/version.txt';?>
|
<?php include 'http://home.k-world.me.uk/version.txt';?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ($localversion != $remoteversion) {
|
||||||
|
require "updatenotify.php";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="head">
|
<div class="head">
|
||||||
<?php echo "<p style=\" text-align: center;\">$yourname's Server Access</p>";?>
|
<?php echo "<p style=\" text-align: center;\">$yourname's Server Access</p>";?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
//// KLANDING VERSION
|
//// KLANDING VERSION
|
||||||
$remoteversion = "2.0"; //
|
$remoteversion = "2.1"; //
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user