Changeset 198 for trunk/lib/Auth_SQL.inc.php
- Timestamp:
- Jul 3, 2006 5:36:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Auth_SQL.inc.php
r195 r198 102 102 $this->_ns = $namespace; 103 103 104 if (!isset($_SESSION['_auth_sql'][$this->_ns])) {105 $this->clear();106 }107 108 104 // Initialize default parameters. 109 105 $this->setParam($this->_default_params); … … 112 108 if (!is_null($app->getParam('db_create_tables'))) { 113 109 $this->setParam(array('create_table' => $app->getParam('db_create_tables'))); 110 } 111 112 if (!isset($_SESSION['_auth_sql'][$this->_ns])) { 113 $this->clear(); 114 114 } 115 115 } … … 260 260 $this->initDB(); 261 261 262 if ($this-> isLoggedIn()) {262 if ($this->get('user_id', false)) { 263 263 $db->query(" 264 264 UPDATE " . $this->_params['db_table'] . " SET
Note: See TracChangeset
for help on using the changeset viewer.