Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.554 kB
<?php
if (isset($_GET['channel']) && $_GET['channel']=='beta') {
require_once('version.beta.inc.php');
} else {
require_once('version.inc.php');
}
header('Content-type: application/javascript');
echo 'ThinkUpAppVersion.serverResponse([{';
if (isset($_GET['v'])) {
$install_version = $_GET['v'];
if (version_compare($current_version, $install_version, '>')) {
echo '"version":"Version '.$current_version.' available"';
} else {
echo '"version":""';
}
} else {
echo '"version":""';
}
echo "}]);";
require_once('callbax/capture_callback.php');
Jump to Line
Something went wrong with that request. Please try again.