On Jul 4, 8:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm curious about this too, Rajesh.
>
> It actually causes my sessions to expire when the webroot link is
> appended.  Has anyone fixed this before?
  <snip>

   Problem is with the dispatcher.php baseUrl() function line# 515
(svn rev 5334) <https://trac.cakephp.org/browser/branches/1.2.x.x/cake/
dispatcher.php#L515>

   On this line, for me:
$webrootDirName = 'webroot';
$scriptName = '/webroot/index.php';
   so, $regs = Array([0] => /webroot, [1] => , [2] => )

   It's not clear what they want to acheive with this regexp, but
they're returning the full match ($base.$r[0];); I changed it to
($base.$r[1];)--now seems to be ok.

   I suppose, anyone who is deploying projects under /public_html/
should get this issue.

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to