Provide default config name for Module::getConfig()
This commit is contained in:
parent
47f21eebaa
commit
0002c0be26
|
@ -600,7 +600,7 @@ class Module
|
||||||
*
|
*
|
||||||
* @return Config
|
* @return Config
|
||||||
*/
|
*/
|
||||||
public function getConfig($file = null)
|
public function getConfig($file = 'config')
|
||||||
{
|
{
|
||||||
return $this->app->getConfig()->module($this->name, $file);
|
return $this->app->getConfig()->module($this->name, $file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue