This commit is contained in:
Roly Rudy Gutierrez Pinto
2016-08-17 17:04:58 -04:00
parent 78cd23b5c3
commit 34f987e925
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 : "";