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
|
||||
:END
|
||||
:ONE
|
||||
cscript replace.vbs "config.php" "1.7" "2.0"
|
||||
echo Version Updated to 2.0
|
||||
cscript replace.vbs "config.php" "2.0" "2.1"
|
||||
echo Version Updated to 2.1
|
||||
goto END
|
||||
:END
|
||||
|
||||
|
6
main.php
6
main.php
@ -94,6 +94,12 @@ $('.window').hide();
|
||||
<?php include 'config.php';?>
|
||||
<?php include 'http://home.k-world.me.uk/version.txt';?>
|
||||
|
||||
<?php
|
||||
if ($localversion != $remoteversion) {
|
||||
require "updatenotify.php";
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="head">
|
||||
<?php echo "<p style=\" text-align: center;\">$yourname's Server Access</p>";?>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
//// KLANDING VERSION
|
||||
$remoteversion = "2.0"; //
|
||||
$remoteversion = "2.1"; //
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user