mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-31 16:59:22 -04:00
Guard against missing apache_get_version()
This commit is contained in:
@@ -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()) ?>
|
||||
|
||||
Reference in New Issue
Block a user