Commit ec8c8901 authored by Manfred Kutas's avatar Manfred Kutas

ZP-860 Show Z-Push version in autodiscover.

Released under the Affero GNU General Public License (AGPL) version 3.
parent fc5bc5d3
......@@ -60,6 +60,7 @@ class ZPushAutodiscover {
*/
public static function DoZPushAutodiscover() {
ZLog::Write(LOGLEVEL_DEBUG, '-------- Start ZPushAutodiscover');
ZLog::Write(LOGLEVEL_INFO, sprintf("Z-Push version='%s'", @constant('ZPUSH_VERSION')));
// TODO use filterevilinput?
if (stripos($_SERVER["REQUEST_METHOD"], "GET") !== false) {
ZLog::Write(LOGLEVEL_WARN, "GET request for autodiscover. Exiting.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment