diff options
author | Christian Schneider | 2008-06-27 08:52:42 +0000 |
---|---|---|
committer | Christian Schneider | 2008-06-27 08:52:42 +0000 |
commit | e14de12b84bb61bea5a94efb4b9c6cad37b7e8b1 (patch) | |
tree | d371f8155ca9d3ffcfef2b0779b5d194be8f5409 /it_dbi.class | |
parent | abfc7d5e3419e6f317a6366b7e4c273b0465ed2e (diff) | |
download | itools-e14de12b84bb61bea5a94efb4b9c6cad37b7e8b1.tar.gz itools-e14de12b84bb61bea5a94efb4b9c6cad37b7e8b1.tar.bz2 itools-e14de12b84bb61bea5a94efb4b9c6cad37b7e8b1.zip |
Honor classprefix when checking for existence of class (Used in ad/localads.html)
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 709ddee..aa88487 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -113,7 +113,7 @@ function createclasses($p = array()) for ($res = $dbi->query('SHOW TABLES'); $row = mysql_fetch_row($res);) { # Either create class in autoloader or manually just below - if (!class_exists($row[0])) + if (!class_exists($p['classprefix'] . $row[0])) it_dbi::createclass(array('table' => $row[0]) + $p); } } |