summaryrefslogtreecommitdiffstats
path: root/core/db.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/db.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/db.inc.php')
-rw-r--r--core/db.inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/db.inc.php b/core/db.inc.php
new file mode 100644
index 0000000..706f63d
--- /dev/null
+++ b/core/db.inc.php
@@ -0,0 +1,10 @@
+<?PHP
+ require_once('config/config.inc.php');
+
+ require_once('adodb/adodb.inc.php');
+
+
+ $GLOBALS['db'] = &ADONewConnection($GLOBALS['config']['driver']);
+ $GLOBALS['db']->PConnect($GLOBALS['config']['server'], $GLOBALS['config']['user'],
+ $GLOBALS['config']['password'], $GLOBALS['config']['db']);
+?>