diff options
| author | spiderr <spider@viovio.com> | 2013-04-25 12:00:36 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-25 12:00:36 -0400 |
| commit | 1d35493bc6686eb36456c16adeea988f84d0b915 (patch) | |
| tree | 7b9fff641374b9babd7aec09efa5bfe26a8b3d44 /BitSmarty.php | |
| parent | 388f330097c5cea12ea679150671a99224abbfbd (diff) | |
| download | themes-1d35493bc6686eb36456c16adeea988f84d0b915.tar.gz themes-1d35493bc6686eb36456c16adeea988f84d0b915.tar.bz2 themes-1d35493bc6686eb36456c16adeea988f84d0b915.zip | |
tweak verifyCompileDir locations; fix getStyle in compile dir for in logic style changes
Diffstat (limited to 'BitSmarty.php')
| -rw-r--r-- | BitSmarty.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/BitSmarty.php b/BitSmarty.php index a1e6e13..b85bef3 100644 --- a/BitSmarty.php +++ b/BitSmarty.php @@ -107,7 +107,6 @@ class BitSmarty extends SmartyBC { } } } - return parent::fetch($template, $cache_id, $compile_id, $parent, $display, $merge_tpl_vars, $no_output_filter); } @@ -132,14 +131,14 @@ class BitSmarty extends SmartyBC { * @return void */ function verifyCompileDir() { - global $gBitSystem, $gBitLanguage, $bitdomain; + global $gBitThemes, $gBitLanguage, $bitdomain; if( !defined( "TEMP_PKG_PATH" )) { $temp = BIT_ROOT_PATH . "temp/"; } else { $temp = TEMP_PKG_PATH; } - $endPath = $bitdomain.'/'.$gBitSystem->getConfig('style').'/'.$gBitLanguage->mLanguage; + $endPath = $bitdomain.'/'.$gBitThemes->getStyle().'/'.$gBitLanguage->mLanguage; // Compile directory $compDir = $temp . "templates_c/$endPath"; |
