Tab->Space

This commit is contained in:
Daniel Caujolle-Bert 2020-08-31 20:41:03 +02:00
parent e5b47be78f
commit ca9315b895
No known key found for this signature in database
GPG key ID: A7B7A4BEAA82789B

View file

@ -175,8 +175,8 @@ function getConfigItem($section, $key, $configs) {
while(($sectionpos < $len) && (startsWith($configs[$sectionpos],$key."=") === false) ) { while(($sectionpos < $len) && (startsWith($configs[$sectionpos],$key."=") === false) ) {
if (startsWith($configs[$sectionpos],"[")) { if (startsWith($configs[$sectionpos],"[")) {
return null; return null;
} }
$sectionpos++; $sectionpos++;
} }
if ($sectionpos < $len) { if ($sectionpos < $len) {
return substr($configs[$sectionpos], strlen($key) + 1); return substr($configs[$sectionpos], strlen($key) + 1);