Commit c8a52c2b3c3e2407d97af4a5db249e6ec9b41ad2
1 parent
7217eab3
specify system settings table name instead of relying on defaults being set
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1090 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
3 deletions
lib/System.inc
| ... | ... | @@ -44,10 +44,8 @@ class System { |
| 44 | 44 | * @return string the setting |
| 45 | 45 | */ |
| 46 | 46 | function get($sSettingName) { |
| 47 | - global $default; | |
| 48 | - | |
| 49 | 47 | // select the value from the db |
| 50 | - return lookupField($default->owl_system_settings_table, "value", "name", $sSettingName); | |
| 48 | + return lookupField("system_settings", "value", "name", $sSettingName); | |
| 51 | 49 | } |
| 52 | 50 | |
| 53 | 51 | /** | ... | ... |