Update template.php

This commit is contained in:
FusionPBX 2019-07-24 00:45:35 -06:00 committed by GitHub
parent 190da4c4a3
commit c4bdd4fe7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -384,10 +384,10 @@ echo " <div id='message_container'></div>\n";
echo " <input id='domains_hide' type='button' class='btn' style='float: right' value=\"".$text['theme-button-close']."\">\n";
if (file_exists($_SERVER["DOCUMENT_ROOT"]."/app/domains/domains.php")) {
$domain_path = '".PROJECT_PATH."/app/domains/domains.php';
$domain_path = PROJECT_PATH.'/app/domains/domains.php';
}
else {
$domain_path = '".PROJECT_PATH."/core/domains/domains.php';
$domain_path = PROJECT_PATH.'/core/domains/domains.php';
}
echo " <a href=\"".$domain_path."\"><b style=\"color: #000;\">".$text['theme-title-domains']."</b></a> (".sizeof($_SESSION['domains']).")";
echo " <br><br>\n";