define ZM_BASE_PROTOCOL

This commit is contained in:
Isaac Connor 2015-09-17 15:14:43 -04:00
parent 2fcb5d153f
commit c0139e87ad
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ else
{ {
$protocol = 'http'; $protocol = 'http';
} }
define( "ZM_BASE_PROTOCOL", $protocol );
define( "ZM_BASE_URL", $protocol.'://'.$_SERVER['HTTP_HOST'] ); define( "ZM_BASE_URL", $protocol.'://'.$_SERVER['HTTP_HOST'] );
if ( isset($_GET['skin']) ) if ( isset($_GET['skin']) )