We have been getting a barrage of emails over the last few days from
some of our customers who use Network Solutions as their host.
Evidently, in the process of upgrading to Apache 2.2 over the weekend
they also decided to completely break PHP_SELF. Instead of returning
the full path of the script relative to the document root, it returns
the full path of the script *relative to the user's folder* which
obviously tanks about every 3rd party PHP app imaginable.
Anyway, just wanted to give people a heads up in case you run across
something similar. For the moment, we are moving this part of the
env() function to the top, so it intercepts any calls for PHP_SELF:
if ($key == 'PHP_SELF') {
return r(env('DOCUMENT_ROOT'), '', env('SCRIPT_FILENAME'));
}
Brad
------
Brad Daily
Developer, SlideShowPro Director
http://www.slideshowpro.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---