Cosmetics changes : remove ending lines spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
class inifile
|
||||
{
|
||||
/** Return an array with the .ini file content
|
||||
If the sections are true, the sections are analyzed too
|
||||
If the sections are true, the sections are analyzed too
|
||||
This function is the same as parse_ini_file PHP internal */
|
||||
public function getFile ($file, $sections=false)
|
||||
{
|
||||
@@ -22,7 +22,7 @@ class inifile
|
||||
}
|
||||
|
||||
/** Return an array with the .ini string content
|
||||
If the sections are true, the sections are analyzed too
|
||||
If the sections are true, the sections are analyzed too
|
||||
This function is the same as parse_ini_string PHP internal */
|
||||
public function getString ($string, $sections=false)
|
||||
{
|
||||
@@ -48,11 +48,11 @@ class inifile
|
||||
elseif ($v === "false")
|
||||
$res[$key][$k] = false;
|
||||
elseif (is_numeric ($v))
|
||||
$res[$key][$k] = $v + 0;
|
||||
$res[$key][$k] = $v + 0;
|
||||
}
|
||||
}
|
||||
elseif (is_numeric ($val))
|
||||
$res[$key] = $val + 0;
|
||||
$res[$key] = $val + 0;
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user