Add favicon (#6671)

* Add favicon

* Update totp_secret.htm

* Update totp.htm

* Update login.htm

* Update email.htm

* Update totp.php

* Update ldap.php

* Update email.php

* Update database.php
This commit is contained in:
FusionPBX
2023-05-06 18:31:48 -06:00
committed by GitHub
parent a866875383
commit d9cc3314d3
9 changed files with 24 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ class plugin_database {
*/
function database() {
//pre-process some settings
$settings['theme']['favicon'] = !empty($settings['theme']['favicon']) ? $settings['theme']['favicon'] : PROJECT_PATH.'/themes/default/favicon.ico';
//already authorized
if (isset($_SESSION['authentication']['plugin']['database']) && $_SESSION['authentication']['plugin']['database']["authorized"]) {
return;
@@ -96,6 +99,7 @@ class plugin_database {
$view->assign("login_logo_width", $login_logo_width);
$view->assign("login_logo_height", $login_logo_height);
$view->assign("login_logo_source", $login_logo_source);
$view->assign("favicon", $settings['theme']['favicon']);
//add the token name and hash to the view
//$view->assign("token_name", $token['name']);