From 07db26229807e9510bfb882d0fb458e615126165 Mon Sep 17 00:00:00 2001 From: CasparA Date: Thu, 12 May 2016 09:21:57 +0200 Subject: [PATCH] =?UTF-8?q?[FIX]=20unben=C3=B6tigte=20Unterverzeichnisse?= =?UTF-8?q?=20im=20Firmwareverzeichnis=20werden=20nun=20erkannt=20und=20ig?= =?UTF-8?q?noriert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ffrouter_parsen.function.php | 111 ++++++++++++++++++++++++----------- index.php | 2 +- 2 files changed, 77 insertions(+), 36 deletions(-) diff --git a/ffrouter_parsen.function.php b/ffrouter_parsen.function.php index 047ef35..10dd263 100644 --- a/ffrouter_parsen.function.php +++ b/ffrouter_parsen.function.php @@ -13,10 +13,15 @@ if(is_dir($firmware_download_path."beta/")) { $variante['beta']['factory'] = 1; $files['beta']['factory'] = array_slice(scandir($firmware_download_path."beta/factory/"), 2); for( $i=0; $i"); } else { $router[$i] = new ffrouter(); $router[$i]->hersteller = $router_tmp[$i]['hersteller']; @@ -274,7 +315,7 @@ if($variante['beta']['sysupgrade'] == 1) { $router_tmp[$i]['modell'] = strtoupper(substr($files['beta']['sysupgrade'][$i], $pos_hersteller+2, stripos($files['beta']['sysupgrade'][$i], ".", $pos_hersteller+2)-$pos_hersteller-13)); } if(isset($router_tmp[$i]['hersteller']) != true) { - echo("Unbekannten Hersteller im Dateinamen gefunden, bitte Script updaten!"); + echo("Unbekannten Hersteller im Dateinamen gefunden, bitte Script updaten! (".$files['beta']['sysupgrade'][$i].")
"); } else { $router_neu = 1; for( $j=0; $j"); } else { $router_neu = 1; for( $j=0; $j"); } else { $router_neu = 1; for( $j=0; $j"); } else { $router_neu = 1; for( $j=0; $j"); } else { $router_neu = 1; for( $j=0; $j"); } else { $router_neu = 1; for( $j=0; $j"); diff --git a/index.php b/index.php index 38639bc..c4b4966 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ echo << - +