Merge branch 'auth-openid' of github.com:jnovack/phorkie into auth-openid
[phorkie.git] / data / config.default.php
index 8fb27a9dae7cc7cb68831c9afba455d2a5ba1e0f..a0877678344dccf15e30eaee6aec9452b90a8536 100644 (file)
@@ -9,7 +9,17 @@ $GLOBALS['phorkie']['cfg'] = array(
     'topbar'        => '',
     'setupcheck'    => true,
     'elasticsearch' => null,
-    'geshi'         => 'MediaWiki/geshi/geshi/geshi.php'
+    'geshi'         => 'MediaWiki/geshi/geshi/geshi.php',
+    'index'         => 'new'//"new" or "list"
+);
+$GLOBALS['phorkie']['auth'] = array(
+    // 0 = public, no authentication, 1 = protect adds/edits/deletes,
+    // 2 = require authentication
+    'securityLevel'   => 0,
+    'listedUsersOnly' => false,
+    'users'           => array(),             // Array of OpenIDs that may login
+    'anonymousName'   => 'Anonymous',         // Email for non-authenticated commits
+    'anonymousEmail'  => 'anonymous@phorkie', // Email for non-authenticated commits
 );
 $GLOBALS['phorkie']['tools'] = array(
     '\\phorkie\\Tool_Xmllint' => true,