diff options
Diffstat (limited to 'BitThemes.php')
| -rw-r--r-- | BitThemes.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/BitThemes.php b/BitThemes.php index 119703c..89333cf 100644 --- a/BitThemes.php +++ b/BitThemes.php @@ -51,12 +51,10 @@ class BitThemes extends BitSingleton { * @return void */ function __construct() { - global $gBitSmarty; parent::__construct(); // start up caching engine $this->mThemeCache = new BitCache( 'themes', TRUE ); - $gBitSmarty->verifyCompileDir(); } @@ -144,7 +142,7 @@ class BitThemes extends BitSingleton { function setStyle( $pStyle ) { global $gBitSmarty; $this->mStyle = $pStyle; - $gBitSmarty->assign( 'style', $pStyle ); + $gBitSmarty->verifyCompileDir(); } /** |
