Ignore:
Timestamp:
Jun 5, 2006 1:14:51 AM (18 years ago)
Author:
scdev
Message:

Q - added persistant database storage to Prefs.inc.php. Modified getParam failure log type to LOG_DEBUG in all classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Auth_SQL.inc.php

    r136 r146  
    135135
    136136            // The minimal columns for a table compatable with the Auth_SQL class.
    137             $db->query("CREATE TABLE IF NOT EXISTS " . $this->getParam('db_table') . " (
     137            $db->query("CREATE TABLE IF NOT EXISTS " . $db->escapeString($this->getParam('db_table')) . " (
    138138                " . $this->getParam('db_primary_key') . " smallint(11) NOT NULL auto_increment,
    139139                " . $this->getParam('db_username_column') . " varchar(255) NOT NULL default '',
     
    242242            return $this->_params[$param];
    243243        } else {
    244             $app->logMsg(sprintf('Parameter is not set: %s', $param), LOG_NOTICE, __FILE__, __LINE__);
     244            $app->logMsg(sprintf('Parameter is not set: %s', $param), LOG_DEBUG, __FILE__, __LINE__);
    245245            return null;
    246246        }
Note: See TracChangeset for help on using the changeset viewer.