PEAK XOOPS - Re: Speed up your XOOPS site:-) updated in englishin japanese

Re: Speed up your XOOPS site:-) updated

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

none Re: Speed up your XOOPS site:-) updated

msg# 1.1.1
depth:
2
Previous post - Next post | Parent - No child | Posted on 2007/9/9 6:24
GIJOE  Gunnery Sergeant   Posts: 4110
With XCL 2.1, you need not hack include/functions.php.

Just edit the template "legacy_redirect.html".

Insert it into the top of the template.
<{php}>
  if( ! headers_sent() ) {
    $_SESSION["redirect_message"] = $this->_tpl_vars["message"];
    header("Location: ".html_entity_decode($this->_tpl_vars["url"],ENT_QUOTES));
    exit;
  }
<{/php}>

You also have to edit theme.html like the hack for X2.
Votes:2 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!