summaryrefslogtreecommitdiffstats
path: root/core/config.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-09-19 00:53:00 +0200
committerneoraider <devnull@localhost>2006-09-19 00:53:00 +0200
commite5a1418503a1b0f7d20a0c5c51d44f10a881411a (patch)
treefc2e19d958382a93e778faecfd6db300d4e6cfea /core/config.inc.php
parent2390cba867a49e96156e9cf57cbf591182f98bd7 (diff)
downloadneon-e5a1418503a1b0f7d20a0c5c51d44f10a881411a.tar
neon-e5a1418503a1b0f7d20a0c5c51d44f10a881411a.zip
Interne Modulverwaltung neu geschrieben;
Basis modularisiert; das gesamte System an die neue Modulverwaltung angepasst.
Diffstat (limited to 'core/config.inc.php')
-rw-r--r--core/config.inc.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/config.inc.php b/core/config.inc.php
new file mode 100644
index 0000000..5318341
--- /dev/null
+++ b/core/config.inc.php
@@ -0,0 +1,11 @@
+<?PHP
+ require_once('config/config.inc.php');
+
+ require_once('core/db.inc.php');
+
+
+ $res = $GLOBALS['db']->Execute('SELECT name, value FROM config WHERE module = 0');
+
+ while($row = $res->FetchRow())
+ $GLOBALS['config'][$row[0]] = $row[1];
+?>