Skip to content

Commit

Permalink
Update EdgeAltoRouter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Acksop authored Mar 1, 2024
1 parent 4e1cfea commit 47925ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EdgeAltoRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function setRouteFromConfig($configUrl){
throw new RuntimeException('error : some key of the array in configfile has no values');
}else{
for($i = 0; $i < count($capturedArrayIndex) ; $i = $i+2){
$capturedArray[mb_convert_encoding( trim($capturedArrayIndex[$i], 'UTF-8', mb_detect_encoding( $capturedArrayIndex[$i], 'auto') )] = mb_convert_encoding( trim($capturedArrayIndex[$i+1], 'UTF-8', mb_detect_encoding( $capturedArrayIndex[$i+1], 'auto') );
$capturedArray[mb_convert_encoding( trim($capturedArrayIndex[$i]), 'UTF-8', mb_detect_encoding( $capturedArrayIndex[$i], 'auto'))] = mb_convert_encoding( trim($capturedArrayIndex[$i+1]), 'UTF-8', mb_detect_encoding( $capturedArrayIndex[$i+1], 'auto'));
}
}
}
Expand Down

0 comments on commit 47925ce

Please sign in to comment.