diff options
| author | spiderr <spider@viovio.com> | 2011-11-30 15:17:42 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-11-30 15:17:42 -0500 |
| commit | ef5d0467a4a80c22ad1a7a399ad5faaf6ab66974 (patch) | |
| tree | a9c5ab9732b3d3be193ef849f3a0d608222e59f4 /BitSmarty.php | |
| parent | fe1b44b2afb1026f4ef5075db235f77150744d7d (diff) | |
| download | themes-ef5d0467a4a80c22ad1a7a399ad5faaf6ab66974.tar.gz themes-ef5d0467a4a80c22ad1a7a399ad5faaf6ab66974.tar.bz2 themes-ef5d0467a4a80c22ad1a7a399ad5faaf6ab66974.zip | |
comment out tk on GET href strings
Diffstat (limited to 'BitSmarty.php')
| -rw-r--r-- | BitSmarty.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BitSmarty.php b/BitSmarty.php index fcd380c..2fa962a 100644 --- a/BitSmarty.php +++ b/BitSmarty.php @@ -201,9 +201,9 @@ function add_link_ticket( $pTplSource ) { global $gBitUser; if( is_object( $gBitUser ) && $gBitUser->isRegistered() ) { - $from = '#href="(.*PKG_URL.*php)\?(.*)&(.*)"#i'; - $to = 'href="\\1?\\2&tk={$gBitUser->mTicket}&\\3"'; - $pTplSource = preg_replace( $from, $to, $pTplSource ); +// $from = '#href="(.*PKG_URL.*php)\?(.*)&(.*)"#i'; +// $to = 'href="\\1?\\2&tk={$gBitUser->mTicket}&\\3"'; +// $pTplSource = preg_replace( $from, $to, $pTplSource ); $from = '#<form([^>]*)>#i'; // div tag is for stupid XHTML compliance. $to = '<form\\1><div style="display:inline"><input type="hidden" name="tk" value="{$gBitUser->mTicket}" /></div>'; |
