diff options
Diffstat (limited to 'lib/common.php')
-rw-r--r-- | lib/common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php index d8ef18d90..c0921b662 100644 --- a/lib/common.php +++ b/lib/common.php @@ -42,7 +42,8 @@ $config = 'path' => '/', 'logfile' => NULL, 'fancy' => false, - 'email' => $_SERVER['SERVER_ADMIN'], + 'email' => + array_key_exists('SERVER_ADMIN', $_SERVER) ? $_SERVER['SERVER_ADMIN'] : NULL, 'broughtby' => NULL, 'broughtbyurl' => NULL), 'syslog' => |