diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2020-05-26 15:48:36 +0300 |
---|---|---|
committer | Mert Tumer <mert.tumer@collabora.com> | 2020-05-26 21:02:41 +0300 |
commit | c6e94aed03bef9256b1f9abcd3cb2f0ed858f6f4 (patch) | |
tree | 775b9aff4a68f7f2a1e6da1ae08b373940836717 /lib | |
parent | bbff124b47a2bae7aae4bc278fa0a28f33bc0775 (diff) |
Inform user about web server configuration issues
Built-in CODE server needs a configuration in the webserver
when it is Nginx, to be able to access proxy.php
Co-authored-by: Muhammet Kara <muhammet.kara@collabora.com>
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Settings/Admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php index 2c511022..6dc3d667 100644 --- a/lib/Settings/Admin.php +++ b/lib/Settings/Admin.php @@ -89,7 +89,8 @@ class Admin implements ISettings { 'templates' => $this->manager->getSystemFormatted(), 'templatesAvailable' => array_key_exists('templates', $this->capabilities) && $this->capabilities['templates'], 'settings' => $this->appConfig->getAppSettings(), - 'demo_servers' => $this->demoService->fetchDemoServers() + 'demo_servers' => $this->demoService->fetchDemoServers(), + 'web_server' => strtolower($_SERVER['SERVER_SOFTWARE']) ] ], 'blank' |