Hi,
My question is probably that of a beginner: I has not been a long time
since I started to use CakePHP.
I need pathinfo in my controller. Thats what I am doing:
$p1=Router::url("/",false); //that's my RewiteBase
$p2=Router::url("",false);
$pc=substr($p2,strlen($p1)-1);
And then I use $pc: that's what I need.
My question is:
Is there another, smarter, "baker" way to detect and remove
temporarily the rewritebase part of the path?
Thank you in advance.
Greetings,
Giorgi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---