https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a03046
)
Discovered another older style of accessing the registry
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 19 Aug 2007 17:41:51 +0000
(17:41 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 19 Aug 2007 17:41:51 +0000
(17:41 +0000)
* Template.php:
(BSTemplate::cache): Use the new BSApp::Registry() system
Template.php
patch
|
blob
|
history
diff --git
a/Template.php
b/Template.php
index b0ebfdfea1297f1f2e35a25a1feaa55e873d4fc8..15d028c141077fd34695b8fcfd64a5e50f8ae7a4 100644
(file)
--- a/
Template.php
+++ b/
Template.php
@@
-163,7
+163,7
@@
class BSTemplate
$dbCache = array();
if ($this->dbCacheTable)
{
- $db =& BSApp::
G
etType('Db');
+ $db =& BSApp::
Registry()->g
etType('Db');
$cache = $db->query("SELECT * FROM {$this->dbCacheTable} WHERE filename IN ('" . implode("', '", $namearray) . "')");
while ($tpl = $db->fetchArray($cache))
{