Limitation of D3's front controller

Date 2006-10-17 17:47:32 | Category: XOOPS

in englishin japanese
XoopsCube 2.1 beta has just released today (17 Oct 2006).

Cube 2.1beta judges admin mode or not by ...

		if(count($urlInfo)>=3) {
			if(strtolower($urlInfo[0])=="modules" && strtolower($urlInfo[2])=="admin"){
				$adminStateFlag=true;
			}
			elseif($urlInfo[0] == "modules" && $urlInfo[1] == "system" && substr($urlInfo[2], 0, 9) == "admin.php") {
				$adminStateFlag=true;
			}
		}
		elseif(substr($urlInfo[0], 0, 9) == "admin.php") {
			$adminStateFlag=true;
		}

This judgement is fatal head wind against D3's front controller model.

I have to abondon admin's front controller.
This change also affects XOOPS_ROOT side of wraps and d3forum.




You can read more news at PEAK XOOPS.
http://xoops.peak.ne.jp

The URL for this story is:
http://xoops.peak.ne.jp/md/news/index.php?page=article&storyid=378