toArray(); } if (!is_array($config)) { #require_once 'Zend/Log/Exception.php'; throw new Zend_Log_Exception('Configuration must be an array or instance of Zend_Config'); } return $config; } }