Re: Speed up your XOOPS site:-)
Target |
News |
Subject |
Speed up your XOOPS site:-) updated |
Summary |
redirect_header() makes your site slow.You can make your site fast only by hack just 2 or 3 point.This site demonstrates it to you.The message is displayed as a left block in the redirected page.The inserting point for hacked codes is different each ot... |
List posts in the topic
Re: Speed up your XOOPS site:-)
msg# 1
Hi,
Thanks for sharing this useful hack.
I'm using Xoops 2.0.13. I did inserted the lines (in 3 files) following the instructions. But the COMMON ones (inserted to theme.html) didn't work. The page is loaded with following lines appear:
"_tpl_vars['xoops_lblocks'] ) ) $this->_tpl_vars['xoops_lblocks'] = array() ;
array_unshift( $this->_tpl_vars['xoops_lblocks'] , array( 'title' => 'Message' , 'content' => htmlspecialchars($_SESSION['redirect_message'],ENT_QUOTES) , 'weight' => 0 ) ) ;
$this->_tpl_vars['xoops_showlblock'] = 1 ;
unset( $_SESSION['redirect_message'] ) ;
}"
Any suggestion on how I suppose to insert the lines?
Any help is appreciated.
Thanks in advance.
tangan
Votes:0
Average:0.00
Posts tree