mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Misc: Mitigate PHP 8.1 warnings.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
}
|
||||
else {
|
||||
//use custom index, if present, otherwise use custom login, if present, otherwise use default login
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/themes/".$_SESSION['domain']['template']['name']."/index.php")) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/themes/".($_SESSION['domain']['template']['name'] ?? '')."/index.php")) {
|
||||
require_once "themes/".$_SESSION['domain']['template']['name']."/index.php";
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user