Fix Syntax error
This commit is contained in:
parent
08b6ff2f13
commit
f782705114
@ -44,7 +44,7 @@ if (filter_var($community[$community_id]["download_path"], FILTER_VALIDATE_URL)
|
||||
$variante[$entwicklung[$i]][$installation[$j]] = 1;
|
||||
$files[$entwicklung[$i]][$installation[$j]] = array_slice(scandir($firmware_download_path.$entwicklung[$i]."/".$installation[$j]."/"), 2);
|
||||
$file_count = count($files[$entwicklung[$i]][$installation[$j]]);
|
||||
for( $x=0; $x<$file_count); $x++ ) {
|
||||
for( $x=0; $x<$file_count; $x++ ) {
|
||||
if(is_dir($firmware_download_path.$entwicklung[$i]."/".$installation[$j]."/".$files[$entwicklung[$i]][$installation[$j]][$x])) {
|
||||
array_splice($files[$entwicklung[$i]][$installation[$j]], $x, 1);
|
||||
$x--;
|
||||
@ -81,7 +81,7 @@ if (filter_var($community[$community_id]["download_path"], FILTER_VALIDATE_URL)
|
||||
for( $j=0; $j<$installation_count; $j++ ) {
|
||||
if($variante[$entwicklung[$i]][$installation[$j]] == 1) {
|
||||
$file_count = count($files[$entwicklung[$i]][$installation[$j]]);
|
||||
for( $x=0; $x<$file_count); $x++) {
|
||||
for( $x=0; $x<$file_count; $x++) {
|
||||
for( $y=0; $y<$anzahl_hersteller; $y++) {
|
||||
if($pos = stripos($files[$entwicklung[$i]][$installation[$j]][$x], $hersteller[$y]['filename'], $pos_hersteller[$entwicklung[$i]][$installation[$j]]-1) !== false) {
|
||||
$router_tmp[$x]['hersteller'] = $hersteller[$y]['name'];
|
||||
|
Loading…
Reference in New Issue
Block a user