commit dda264e8f61252a205986413694369f484927101
parent ca4bcfaca01da4809e23211d9d32ff1d59b074aa
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 20 Dec 2014 20:25:14 +0100
configure update server
Diffstat:
5 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/core/update/files/file1.php b/core/update/files/file1.php
@@ -1 +0,0 @@
-This is file 1. Version 0.1
-\ No newline at end of file
diff --git a/core/update/files/files2.php b/core/update/files/files2.php
@@ -1 +0,0 @@
-This is file 2. Version 0.1
-\ No newline at end of file
diff --git a/core/update/server/update.ini b/core/update/server/update.ini
@@ -1,7 +0,0 @@
-[1]
-version = 0.1
-url = http://127.0.0.1/_temp/update/0.1.zip
-
-[2]
-version = 0.2
-url = http://127.0.0.1/_temp/update/0.2.zip
-\ No newline at end of file
diff --git a/core/update/somefile.php b/core/update/somefile.php
@@ -1 +0,0 @@
-This is some file. Version 0.1
-\ No newline at end of file
diff --git a/core/update/update/index.php b/core/update/update/index.php
@@ -7,8 +7,8 @@ header("Cache-Control: no-cache, must-revalidate, no-store");
require('update.php');
$update = new AutoUpdate(true);
-$update->currentVersion = 1; //Must be an integer - you can't compare strings
-$update->updateUrl = 'https://192.168.178.40:80/cms_new/core/update/server'; //Replace with your server update directory
+$update->currentVersion = 0.1; //Must be an integer - you can't compare strings
+$update->updateUrl = 'https://media.nordgedanken.de/rpicms/update/server'; //Replace with your server update directory
//Check for a new update
$latest = $update->checkUpdate();