mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Hide memcache on the system status page if FreeSWITCH is not installed.
This commit is contained in:
@@ -372,8 +372,7 @@ $document['title'] = $text['title-sys-status'];
|
|||||||
}
|
}
|
||||||
|
|
||||||
//memcache information
|
//memcache information
|
||||||
if (permission_exists('system_view_memcache')) {
|
if (if_group("system_view_memcache") && file_exists($_SERVER["PROJECT_ROOT"]."/app/sip_status/app_config.php")){
|
||||||
|
|
||||||
echo "<table width='100%' border='0' cellpadding='7' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='7' cellspacing='0'>\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <th class='th' colspan='2' align='left'>".$text['title-memcache']."</th>\n";
|
echo " <th class='th' colspan='2' align='left'>".$text['title-memcache']."</th>\n";
|
||||||
@@ -418,7 +417,6 @@ $document['title'] = $text['title-sys-status'];
|
|||||||
|
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//backup
|
//backup
|
||||||
|
|||||||
Reference in New Issue
Block a user