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

View file

@ -10,12 +10,11 @@ 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
*/ */
$isHostInChannel = false; $isDevEnvironment = defined('ENV_IS_DEV') && true === ENV_IS_DEV;
$isHostInChannel = false;
/** Determine if host is a defined channel */ /** Determine if host is a defined channel */
foreach (CHANNELS as $channel) { foreach (CHANNELS as $channel) {