[wp-trac] [WordPress Trac] #20059: APC + hard link + __FILE__ doesn't work
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 17 10:33:30 UTC 2012
#20059: APC + hard link + __FILE__ doesn't work
--------------------------+----------------------
Reporter: rootix | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: close |
--------------------------+----------------------
Changes (by scribu):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Also note that {{{$_SERVER["SCRIPT_FILENAME"]}}} and {{{__FILE__}}} are
not equivalent. The former will always point to the parent file (the one
that would show up in URL bar when there are no rewrite rules).
So, as dd32 suggested, you'll have to use a different setup.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20059#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list