aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/config/public-conf.php.example
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-base/config/public-conf.php.example')
-rw-r--r--mayor-orig/mayor-base/config/public-conf.php.example24
1 files changed, 24 insertions, 0 deletions
diff --git a/mayor-orig/mayor-base/config/public-conf.php.example b/mayor-orig/mayor-base/config/public-conf.php.example
new file mode 100644
index 00000000..a366aefa
--- /dev/null
+++ b/mayor-orig/mayor-base/config/public-conf.php.example
@@ -0,0 +1,24 @@
+<?php
+
+// A kezdőlap beállítása
+// Ha a portál modult telepítjük:
+// $DEFAULT_PSF['public'] = array('page'=>'portal', 'sub'=>'portal', 'f' => 'portal');
+// Illetve nélküle, csak napló modullal:
+ $DEFAULT_PSF['public'] = array('page'=>'auth', 'sub'=>'', 'f' => 'login');
+
+$AUTH['public'] = array(
+ 'backend' => 'file',
+ 'authentication' => 'optional',
+ 'onExpired' => 'force update',
+ 'onDisabled' => 'refuse',
+ 'accountAttrs' => array('mail'),
+
+ 'file account file' => '/tmp/passwd',
+ 'file group file' => '/tmp/group',
+);
+
+// authentication:
+// - optional: nem próbálunk authentikálni [default]
+// - try: megpróbálhatunk belépni (globalLogin használja)
+// - required: kötelező
+?> \ No newline at end of file