function __construct($cfg = array()) { $cfg = is_string($cfg) ? parse_ini_file($cfg, true) : $cfg; parent::__construct($cfg); }