diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 12:30:31 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 12:30:31 +0100 |
| commit | edad4b1ae0b767457ba95b8660fcdda743f41825 (patch) | |
| tree | 5fe215194d0a04784376a00600eeed4e8b473872 /BitSmarty.php | |
| parent | 9c3ab6210c229b98674ec2b2548d01c65d18a24a (diff) | |
| download | themes-edad4b1ae0b767457ba95b8660fcdda743f41825.tar.gz themes-edad4b1ae0b767457ba95b8660fcdda743f41825.tar.bz2 themes-edad4b1ae0b767457ba95b8660fcdda743f41825.zip | |
Strip extra white space
( simply ignoring is causing problems with comment merging )
Diffstat (limited to 'BitSmarty.php')
| -rw-r--r-- | BitSmarty.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/BitSmarty.php b/BitSmarty.php index 2fa962a..3588378 100644 --- a/BitSmarty.php +++ b/BitSmarty.php @@ -13,7 +13,12 @@ /** * required setup */ -if( file_exists( UTIL_PKG_PATH.'smarty/libs/Smarty.class.php' )) { +if( file_exists( EXTERNAL_LIBS_PATH.'smarty/libs/Smarty.class.php' )) { + // set SMARTY_DIR that we have the absolute path + define( 'SMARTY_DIR', EXTERNAL_LIBS_PATH.'smarty/libs/' ); + // If we have smarty in our kernel, use that. + $smartyIncFile = SMARTY_DIR . 'Smarty.class.php'; +} elseif( file_exists( UTIL_PKG_PATH.'smarty/libs/Smarty.class.php' )) { // set SMARTY_DIR that we have the absolute path define( 'SMARTY_DIR', UTIL_PKG_PATH.'smarty/libs/' ); // If we have smarty in our kernel, use that. @@ -46,7 +51,7 @@ class PermissionCheck { class BitSmarty extends Smarty { /** * BitSmarty initiation - * + * * @access public * @return void */ @@ -159,8 +164,8 @@ class BitSmarty extends Smarty { } /** - * verifyCompileDir - * + * verifyCompileDir + * * @access public * @return void */ @@ -192,7 +197,7 @@ class BitSmarty extends Smarty { /** * add_link_ticket This will insert a ticket on all template URL's that have GET parameters. - * + * * @param array $pTplSource source of template * @access public * @return ammended template source |
