diff options
-rw-r--r-- | core/views/admin_block_platform.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/admin_block_platform.html.php b/core/views/admin_block_platform.html.php index 79bf85ed..958097a1 100644 --- a/core/views/admin_block_platform.html.php +++ b/core/views/admin_block_platform.html.php @@ -4,7 +4,7 @@ <? printf(_("Operating System: %s"), PHP_OS) ?> </li> <li> - <? printf(_("Apache: %s"), apache_get_version()) ?> + <? printf(_("Apache: %s"), function_exists("apache_get_version") ? apache_get_version() : _("Unknown")) ?> </li> <li> <? printf(_("PHP: %s"), phpversion()) ?> |