HomeHelpTrac

Ignore:
Timestamp:
04/06/09 04:21:27 (3 years ago)
Author:
Andrey Prikaznov
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/classes/BxDolParams.php

    r9304 r9972  
    5151           return $this->_aParams[$sKey]; 
    5252        else  
    53            return $this->_oDb->getOne("SELECT `VALUE` FROM `GlParams` WHERE `Name`='" . $sKey . "' LIMIT 1"); 
     53           return $this->_oDb->getOne("SELECT `VALUE` FROM `sys_options` WHERE `Name`='" . $sKey . "' LIMIT 1"); 
    5454    } 
    5555    function set($sKey, $mixedValue) { 
     
    6060         
    6161        //--- Update Database ---// 
    62         $this->_oDb->query("UPDATE `GlParams` SET `VALUE`='" . $mixedValue . "' WHERE `Name`='" . $sKey . "' LIMIT 1"); 
     62        $this->_oDb->query("UPDATE `sys_options` SET `VALUE`='" . $mixedValue . "' WHERE `Name`='" . $sKey . "' LIMIT 1"); 
    6363    } 
    6464     
    6565    function cache() { 
    66         $aParams = $this->_oDb->getAll("SELECT `Name`, `VALUE` FROM `GlParams`", 'Name'); 
     66        $aParams = $this->_oDb->getAll("SELECT `Name`, `VALUE` FROM `sys_options`", 'Name'); 
    6767        if(empty($aParams))  
    6868            return false; 
Note: See TracChangeset for help on using the changeset viewer.