Commit 5b11d8cb authored by Manfred Kutas's avatar Manfred Kutas

ZP-917 Set IPC_PROVIDER to empty value, change default log level to

info, update version to 2.3.0alpha1.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 37f038eb
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
* When another implementation should be used, the class can be set here explicitly. * When another implementation should be used, the class can be set here explicitly.
* If empty Z-Push will try to use available providers. * If empty Z-Push will try to use available providers.
*/ */
define('IPC_PROVIDER', 'IpcSharedMemoryProvider'); define('IPC_PROVIDER', '');
/********************************************************************************** /**********************************************************************************
* Logging settings * Logging settings
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
* LOGAUTHFAIL is logged to the LOGBACKEND. * LOGAUTHFAIL is logged to the LOGBACKEND.
*/ */
define('LOGBACKEND', 'filelog'); define('LOGBACKEND', 'filelog');
define('LOGLEVEL', LOGLEVEL_WBXML); define('LOGLEVEL', LOGLEVEL_INFO);
define('LOGAUTHFAIL', false); define('LOGAUTHFAIL', false);
// To save e.g. WBXML data only for selected users, add the usernames to the array // To save e.g. WBXML data only for selected users, add the usernames to the array
......
...@@ -41,12 +41,4 @@ ...@@ -41,12 +41,4 @@
* Consult LICENSE file for details * Consult LICENSE file for details
************************************************/ ************************************************/
if (!defined("ZPUSH_VERSION")) { define("ZPUSH_VERSION", "2.3.0alpha1");
$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