From 10316f59eed26d938a1bb1ae1ddd61ca849d5686 Mon Sep 17 00:00:00 2001 From: 4ndr3 <4ndr3@users.noreply.github.com> Date: Wed, 17 Dec 2014 16:38:44 +0100 Subject: [PATCH] =?UTF-8?q?manifest=20Datei=20in=20stable.manifest=20ge?= =?UTF-8?q?=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wird jetzt als stable.manifest beim firmware bauen erzeugt --- freifunk-versions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freifunk-versions.php b/freifunk-versions.php index 467462b..ae0edc2 100644 --- a/freifunk-versions.php +++ b/freifunk-versions.php @@ -17,7 +17,7 @@ function ff_hh_getmanifest( $basedir ) { // Caching if ( WP_DEBUG || ( false === ( $manifest = get_transient( 'ff_hh_manifest' ) ) ) ) { $manifest = array(); - $url = $basedir . 'sysupgrade/manifest'; + $url = $basedir . 'sysupgrade/stable.manifest'; $http_response = wp_remote_get( $url ); // TODO: error handling $input = wp_remote_retrieve_body( $http_response ); foreach ( explode( "\n", $input ) as $line ) { @@ -44,7 +44,7 @@ function ff_hh_getlatest( $basedir ) { // Caching if ( false === ( $sw_ver = get_transient( 'ff_hh_latestversion' ) ) ) { $sw_ver = 'unknown'; - $input = wp_remote_retrieve_body( wp_remote_get( $basedir . 'sysupgrade/manifest' ) ); + $input = wp_remote_retrieve_body( wp_remote_get( $basedir . 'sysupgrade/stable.manifest' ) ); foreach ( explode( "\n", $input ) as $line ) { $ret = sscanf( $line, '%s %s %s %s', $hw, $sw_ver, $hash, $filename ); if ( $ret === 4 ) {