Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques statiques | |
static | parse_ini_file ($file, $process_sections, $rawdata=false) |
static | parse_ini_file_php ($file, $process_sections=false, $rawdata=false) |
A utility class to parse INI files. This monstrosity is only required because some impossibly misguided individuals who misrepresent themselves as hosts have disabled PHP's parse_ini_file() function for "security reasons". Apparently their blatant ignorance doesn't allow them to discern between the innocuous parse_ini_file and the potentially dangerous ini_set functions, leading them to disable the former and let the latter enabled. In other words, THIS CLASS IS HERE TO FIX STUPID.
|
static |
Parse an INI file and return an associative array.
string | $file | The file to process |
bool | $process_sections | True to also process INI sections |
Références $file.
Référencé par FOFUtilsConfigHelper\loadComponentConfig().
A PHP based INI file parser.
Thanks to asohn ~at~ aircanopy ~dot~ net for posting this handy function on the parse_ini_file page on http://gr.php.net/parse_ini_file
string | $file | Filename to process |
bool | $process_sections | True to also process INI sections |
bool | $rawdata | If true, the $file contains raw INI data, not a filename |