This would work if there were only one path or one user to match to.
What if there are multiple paths, and multiple users to match?
IE: return TRUE if user = Mark or Tom or Paul or Peter AND path = /path1 or /path2 or /path3
--Nick
........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young@ncsu.edu mailto:nick_young@ncsu.edu ........................................................................
Earnie Boyd wrote:
So just change the condition.
return ($user->uid == 10 && $_GET['q'] = 'my/uri/path')
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/