PEAK XOOPS - Re: Case sensitive module folder name in englishin japanese

Re: Case sensitive module folder name

List posts in the topic

none Re: Case sensitive module folder name

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2007/1/25 4:16
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hmmm.
It sounds curious.
In my local environment(WindowsXP+Apache),
basename(dirname(__FILE__)) returns piCal instead of pical.

Anyway, I'll modify the line

from:
	$rs = $xoopsDB->query( "SELECT mid FROM ".$xoopsDB->prefix('modules')." WHERE dirname='$mydirname'" ) ;

to:
	$rs = $xoopsDB->query( "SELECT mid FROM ".$xoopsDB->prefix('modules')." WHERE dirname LIKE '$mydirname'" ) ;
Votes:3 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!