public function addConfigVars($path = 'config.ini') {
        if ($path === 'config.php') {
            $arrayIniParams = parse_ini_file(dirname(__FILE__).'/'.$path,true);
        } else {
            $arrayIniParams = parse_ini_file($path, true);
        }
        foreach ($arrayIniParams as $key => $iniParam) {
            $this->storage[$key] = $iniParam;
        }
    }
public function addConfigVars($path = 'config.ini') {
        if ($path === 'config.php') {
            $arrayIniParams = parse_ini_file(dirname(__FILE__).'/'.$path,true);
        } else {
            $arrayIniParams = parse_ini_file($path, true);
        }
        foreach ($arrayIniParams as $key => $iniParam) {
            $this->storage[$key] = $iniParam;
        }
    }
public function addConfigVars ( $ path = 'config.ini' ) { if ( $ path === 'config.php' ) { $ arrayIniParams = parse_ini_file ( dirname ( __FILE__ ) . '/' . $ path , true ) ; } else { $ arrayIniParams = parse_ini_file ( $ path , true ) ; } foreach ( $ arrayIniParams as $ key => $ iniParam ) { $ this -> storage [ $ key ] = $ iniParam ; } }
Add Config Vars from a new .ini file

@param string $path
Add Config Vars from a new . ini file