mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
17 lines
298 B
PHP
17 lines
298 B
PHP
<?php
|
|
/** @phpstan-var ?\Gazelle\User $Viewer */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
if (!$Viewer || $Viewer->isLocked()) {
|
|
include_once 'webirc_disabled.php';
|
|
exit;
|
|
}
|
|
|
|
require_once match ($_REQUEST['action'] ?? '') {
|
|
'webirc' => 'webirc.php',
|
|
default => 'join.php',
|
|
};
|