Commit 2066c35c authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-890 Undone previous version update, rechanged log level

to LOGLEVEL_INFO and emptied IPC_PROVIDER.

This partly reverts commit 5b11d8cb.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 3af3e197
......@@ -41,4 +41,12 @@
* Consult LICENSE file for details
************************************************/
define("ZPUSH_VERSION", "2.3.0alpha2");
if (!defined("ZPUSH_VERSION")) {
$commit = exec("type git && git log --date=short --pretty=format:'%h/%ad' -1");
if(preg_match("/^[\da-f]+\/\d{4}-\d{2}-\d{2}$/i", $commit)) {
define("ZPUSH_VERSION", "GIT " . $commit);
}
else {
define("ZPUSH_VERSION", "GIT");
}
}
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