Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
24cd454
)
Prepend database name to all table names to avoid ADOdb bug when there
author
moodler
<moodler>
Thu, 2 Jan 2003 11:09:03 +0000
(11:09 +0000)
committer
moodler
<moodler>
Thu, 2 Jan 2003 11:09:03 +0000
(11:09 +0000)
is multiple database connections at once.
lib/setup.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/setup.php
b/lib/setup.php
index
16a3dc8
..
a7b9a1e
100644
(file)
--- a/
lib/setup.php
+++ b/
lib/setup.php
@@
-26,6
+26,7
@@
if (!isset($CFG->prefix)) { // Just in case it isn't defined in config.php
$CFG->prefix = "";
}
if (!isset($CFG->prefix)) { // Just in case it isn't defined in config.php
$CFG->prefix = "";
}
+ $CFG->prefix = "$CFG->dbname.$CFG->prefix";