Fixed broken script
This commit is contained in:
parent
4c9ff0fbb4
commit
87e03b7140
1 changed files with 2 additions and 2 deletions
|
@ -82,12 +82,12 @@ function update_count_of_downloads($file) {
|
||||||
// old version
|
// old version
|
||||||
// update_count_of_downloads($file) ;
|
// update_count_of_downloads($file) ;
|
||||||
|
|
||||||
if (!isset($_GET['event']) {
|
if (!isset($_GET['event'])) {
|
||||||
$eventno = 1;
|
$eventno = 1;
|
||||||
} else {
|
} else {
|
||||||
$eventno = $_GET['event'];
|
$eventno = $_GET['event'];
|
||||||
}
|
}
|
||||||
if (isset($_GET['osmandver']) {
|
if (isset($_GET['osmandver'])) {
|
||||||
$app = $_GET['osmandver'];
|
$app = $_GET['osmandver'];
|
||||||
} else {
|
} else {
|
||||||
$app = 'Download '.$_SERVER['HTTP_USER_AGENT'];
|
$app = 'Download '.$_SERVER['HTTP_USER_AGENT'];
|
||||||
|
|
Loading…
Reference in a new issue