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

Re: Speed up your XOOPS site:-) updated

Target News
Subject お手軽高速化!:-) updated
Summary リダイレクトメッセージは、時間がかかって邪魔だと思いませんか?実際、あのリダイレクトメッセージは、無駄なサーバ負荷にもなっています。とうわけで、okuhikiさんの書込をヒントに、メッセージをじっくり読みたい人にも、さくさく作業したい人にも最善と思われるHack...

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  先任軍曹   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!