diff options
author | Liam Jack <cuonic@cuonic.com> | 2015-12-28 18:13:26 +0100 |
---|---|---|
committer | Liam Jack <cuonic@cuonic.com> | 2015-12-28 18:13:26 +0100 |
commit | 2688f3e2ff5cfe46a230991e6984eb46d5716e79 (patch) | |
tree | 705b84553f03abf2474dc763d139bf2259e9cf64 | |
parent | 446a7a6ab9ecab8eb5e791e846334cd46d58a86d (diff) | |
download | PHPAuth-2688f3e2ff5cfe46a230991e6984eb46d5716e79.zip PHPAuth-2688f3e2ff5cfe46a230991e6984eb46d5716e79.tar.gz PHPAuth-2688f3e2ff5cfe46a230991e6984eb46d5716e79.tar.bz2 |
Fixed issues #147 and #158
-rwxr-xr-x | Config.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ class Config $this->dbh = $dbh; if (func_num_args() > 1) - $this->phpauth_config_table = $config_table; + $this->config_table = $config_table; $this->config = array(); @@ -55,7 +55,7 @@ class Config */ public function __set($setting, $value) { - $query = $this->dbh->prepare("UPDATE {$this->phpauth_config_table} SET value = ? WHERE setting = ?"); + $query = $this->dbh->prepare("UPDATE {$this->config_table} SET value = ? WHERE setting = ?"); if($query->execute(array($value, $setting))) { $this->config[$setting] = $value; |