Thanks that did the trick! Still have a lot to learn... ;)by freejack - Nginx Mailing List - English
Hi all. We're considering switching from lighttpd to nginx in my company and so far everything looks good except for one thing I can't seem to figure out. When getting the document root in PHP from nginx using this: $_SERVER['DOCUMENT_ROOT']."../".$ZONE."/".$LOCALE...etc...... nginx will always return the path WITHOUT the trailing slash. I have the document root confby freejack - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |