/**
  * Parse an INI file and return an associative array. Since PHP versions before 5.1 are
  * bitches with regards to INI parsing, I use a PHP-only solution to overcome this
  * obstacle.
  *
  * @param string $file The file to process
  * @param bool $process_sections True to also process INI sections
  * @return array An associative array of sections, keys and values
  */
 function parse_ini_file($file, $process_sections)
 {
     if (version_compare(PHP_VERSION, '5.1.0', '>=')) {
         return parse_ini_file($file, $process_sections);
     } else {
         return JoomlapackAbstraction::_parse_ini_file($file, $process_sections);
     }
 }