mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-27 09:48:55 +02:00
Reloads config after SCM Update.
This commit is contained in:
@@ -8,6 +8,13 @@ class Mage_Config
|
||||
private $_host = null;
|
||||
private $_releaseId = null;
|
||||
|
||||
public function reloadConfig()
|
||||
{
|
||||
$this->loadGeneral();
|
||||
$this->loadSCM();
|
||||
$this->loadEnvironment($this->getEnvironmentName());
|
||||
}
|
||||
|
||||
public function loadEnvironment($environment)
|
||||
{
|
||||
if (($environment != '') && file_exists('.mage/config/environment/' . $environment . '.yml')) {
|
||||
|
||||
Reference in New Issue
Block a user