PEAK XOOPS - Re: Wraps 1.1 and Xoops 2.0.16 problem in englishin japanese

Re: Wraps 1.1 and Xoops 2.0.16 problem

List posts in the topic

none Re: Wraps 1.1 and Xoops 2.0.16 problem

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2006/12/7 4:32
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I've checked 2.0.16, it works fine but the template problem.

You'd better check around here (especially PHP_SELF)
include/common.php
    if (file_exists('./xoops_version.php')) {
        $url_arr = explode( '/', strstr( $_SERVER['PHP_SELF'],'/modules/') );
        $module_handler =& xoops_gethandler('module');
        $xoopsModule =& $module_handler->getByDirname($url_arr[2]);
        unset($url_arr);
        if (!$xoopsModule || !$xoopsModule->getVar('isactive')) {
            include_once XOOPS_ROOT_PATH."/header.php";
            echo "<h4>"._MODULENOEXIST."</h4>";
            include_once XOOPS_ROOT_PATH."/footer.php";
            exit();
        }
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!