Merged in gproly/processmaker/HOR-1638 (pull request #4781)

HOR-1638
This commit is contained in:
Julio Cesar Laura Avendaño
2016-08-18 12:13:48 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class actionsByEmailCoreClass extends PMPlugin
$__ABE__ = '';
$conf = new Configurations();
$envSkin = $conf->getConfiguration('SKIN_CRON', '');
$envSkin = defined("SYS_SKIN") ? SYS_SKIN : $conf->getConfiguration('SKIN_CRON', '');
$envHost = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : SERVER_NAME;
$envProtocol = defined("REQUEST_SCHEME") && REQUEST_SCHEME === "https";
$envPort = (SERVER_PORT . "" != "80") ? ":" . SERVER_PORT : "";