This commit is contained in:
grandeljay 2022-06-08 12:44:04 +02:00
parent 6b024302d3
commit c4fc9517d2

View file

@ -10,11 +10,10 @@ function redirect(string $target)
{ {
global $user; global $user;
$isDevEnvironment = defined('ENV_IS_DEV') && true === ENV_IS_DEV;
/** /**
* Redirect user based on channel setting * Redirect user based on channel setting
*/ */
$isDevEnvironment = defined('ENV_IS_DEV') && true === ENV_IS_DEV;
$isHostInChannel = false; $isHostInChannel = false;
/** Determine if host is a defined channel */ /** Determine if host is a defined channel */