Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
register extension into Factory
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 23, 2014
1 parent 838fef4 commit ad56e0c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions library/Zend/Config/Factory.php
Expand Up @@ -34,10 +34,11 @@ class Factory
* @var array
*/
protected static $extensions = array(
'ini' => 'ini',
'json' => 'json',
'xml' => 'xml',
'yaml' => 'yaml',
'ini' => 'ini',
'json' => 'json',
'xml' => 'xml',
'yaml' => 'yaml',
'properties' => 'javaproperties',
);

/**
Expand Down
10 changes: 5 additions & 5 deletions library/Zend/Config/ReaderPluginManager.php
Expand Up @@ -19,11 +19,11 @@ class ReaderPluginManager extends AbstractPluginManager
* @var array
*/
protected $invokableClasses = array(
'ini' => 'Zend\Config\Reader\Ini',
'json' => 'Zend\Config\Reader\Json',
'xml' => 'Zend\Config\Reader\Xml',
'yaml' => 'Zend\Config\Reader\Yaml',
'Javaproperties' => 'Zend\Config\Reader\JavaProperties',
'ini' => 'Zend\Config\Reader\Ini',
'json' => 'Zend\Config\Reader\Json',
'xml' => 'Zend\Config\Reader\Xml',
'yaml' => 'Zend\Config\Reader\Yaml',
'javaproperties' => 'Zend\Config\Reader\JavaProperties',
);

/**
Expand Down

0 comments on commit ad56e0c

Please sign in to comment.