PEAK XOOPS - mainfile.php looks a bit different in englishin japanese

mainfile.php looks a bit different

List posts in the topic

question mainfile.php looks a bit different

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2005/2/20 23:12
powadha  一等兵   Posts: 16
After adding the lines as suggested everything works. I do have a slight difference in the file. It looks like:

define('XOOPS_DB_PCONNECT', 0);

 define('XOOPS_GROUP_ADMIN', '1');
 define('XOOPS_GROUP_USERS', '2');
 define('XOOPS_GROUP_ANONYMOUS', '3');

 include( XOOPS_ROOT_PATH . '/modules/protector/include/precheck.inc.php' ) ;
 if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
         include XOOPS_ROOT_PATH."/include/common.php";
 }
 include( XOOPS_ROOT_PATH . '/modules/protector/include/postcheck.inc.php' ) ;
}
?>

I see the:

&& XOOPS_ROOT_PATH != '')

nowhere in any example, should I remove it or is this just something that is different in my installation?

Regards
Votes:9 Average:6.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!