projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a2b873
)
Don't overwrite the global cfgSources array
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 31 Jan 2010 18:57:57 +0000
(13:57 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 31 Jan 2010 18:57:57 +0000
(13:57 -0500)
turba/lib/Application.php
patch
|
blob
|
history
diff --git
a/turba/lib/Application.php
b/turba/lib/Application.php
index
53996b2
..
709e21c
100644
(file)
--- a/
turba/lib/Application.php
+++ b/
turba/lib/Application.php
@@
-170,9
+170,8
@@
class Turba_Application extends Horde_Registry_Application
/* Assign variables for select lists. */
if (!$GLOBALS['prefs']->isLocked('default_dir')) {
- require TURBA_BASE . '/config/sources.php';
$out['default_dir_options'] = array();
- foreach ($
cfgSources
as $key => $info) {
+ foreach ($
GLOBALS['cfgSources']
as $key => $info) {
$out['default_dir_options'][$key] = $info['title'];
}
}