mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
update installer to use default theme (#1626)
added support to allow install to use the theme's default settings and reduce the number of php errors during the installer due to missing settings
This commit is contained in:
@@ -869,6 +869,7 @@ $default_login = ($_REQUEST['login'] == 'default') ? true : false;
|
||||
box-shadow: none;
|
||||
<?php
|
||||
/* then set */
|
||||
$shadow_inset = $shadow_outset = '';
|
||||
if ($_SESSION['theme']['input_shadow_inner_color_focus']['text'] != '') {
|
||||
$inner_color = $_SESSION['theme']['input_shadow_inner_color_focus']['text'];
|
||||
$shadow_inset = "0 0 3px ".$inner_color." inset";
|
||||
@@ -944,6 +945,7 @@ $default_login = ($_REQUEST['login'] == 'default') ? true : false;
|
||||
box-shadow: none;
|
||||
<?php
|
||||
/* then set */
|
||||
$shadow_inset = $shadow_outset = '';
|
||||
if ($_SESSION['theme']['login_input_shadow_inner_color_focus']['text'] != '') {
|
||||
$inner_color = $_SESSION['theme']['login_input_shadow_inner_color_focus']['text'];
|
||||
$shadow_inset = "0 0 3px ".$inner_color." inset";
|
||||
|
||||
Reference in New Issue
Block a user