aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/config/main-config.php.example
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 21:20:34 +0100
committerM.Gergo2019-03-08 21:20:34 +0100
commitf51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch)
treee13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/mayor-base/config/main-config.php.example
parentc76a004b0135786f2742283f8d5f917106f58bd8 (diff)
downloadmayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz
mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip
további rendrakás
Diffstat (limited to 'mayor-orig/mayor-base/config/main-config.php.example')
-rw-r--r--mayor-orig/mayor-base/config/main-config.php.example70
1 files changed, 70 insertions, 0 deletions
diff --git a/mayor-orig/mayor-base/config/main-config.php.example b/mayor-orig/mayor-base/config/main-config.php.example
new file mode 100644
index 00000000..5a9ad2ec
--- /dev/null
+++ b/mayor-orig/mayor-base/config/main-config.php.example
@@ -0,0 +1,70 @@
+<?php
+
+#
+# MaYoR keretrendszer - konfigurációs file
+#
+
+define('_SITE','MaYoR');
+//define('__SUPPORT_EMAIL_ADDRESS','support@iskola.hu');
+//define('__SUPPORT_EMAIL_NAME',_SITE.' Support');
+
+//define('__TESTERRORREPORTER',true);
+//define('__TESTERRORREPORTERWARN',true);
+
+define('_MAYOR_DIR','/var/mayor/');
+define('_BASEDIR',_MAYOR_DIR.'/www');
+define('_CONFIGDIR',_MAYOR_DIR.'/config');
+define('_LOGDIR',_MAYOR_DIR.'/log');
+define('_LOCKFILE','/var/run/mayor.lock');
+define('_DATADIR',_MAYOR_DIR.'/data');
+define('_DOWNLOADDIR',_MAYOR_DIR.'/download');
+
+define("MYSQLI_ENABLED",true);
+define('_MYSQL_ENCODE_STR','aaaa');
+
+//$MYSQL_DATA['login']['host'] ='localhost';
+$MYSQL_DATA['login']['db'] ='mayor_login';
+$MYSQL_DATA['login']['user']='mayor_login';
+$MYSQL_DATA['login']['pw'] ='%SQLPW%';
+
+$POLICIES = array('private','parent','public');
+$LANGUAGES = array('hu_HU');
+$SKINS = array('classic','pda','vakbarat');
+$SKINSSHOW = array('classic','pda','vakbarat');
+
+define('_SECURECOOKIE',true);
+define('_ALLOWPDAIDENTIFICATION',true);
+define('_DEFAULT_POLICY','public');
+define('_DEFAULT_LANG','hu_HU');
+define('_DEFAULT_SKIN','classic');
+define('_DEFAULT_JS_LEVEL',2);
+
+// Egy session maximális időtartama órában. Korlátlan: 0
+define('_SESSION_MAX_TIME', 24);
+// Egy session maximális inaktiv időtartama órában. Korlátlan: 0
+define('_SESSION_MAX_IDLE_TIME', 1);
+// Javascript figyelmeztető üzenet ennyi perccel a session lejárta előtt:
+define('_SESSION_ALERT_TIME', 5);
+
+// Ezt a tömböt hasznűlhatjuk a modulok közti kapcsolatra!
+// pl: $INCLUDES['deleteUser'][0] = 'include/modules/naplo/incDeleteUser.php';
+$INCLUDES = array(
+ 'html_mayor_head' => array(),
+ 'startColumn' => array(),
+ 'startMain' => array(),
+ 'startToolBar' => array(),
+ 'html_head' => array()
+);
+
+// A telepített modulok
+$INSTALLED_MODULES = array();
+/*
+if ($dh = opendir('include/config/')) {
+ while (($file = readdir($dh)) !== false) {
+ if (substr($file,0,6)=='module') require('include/config/'.$file);
+ }
+ closedir($dh);
+}
+*/
+
+?> \ No newline at end of file