[wp-trac] [WordPress Trac] #20059: APC + hard link + __FILE__ doesn't work

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 1 14:07:05 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         |
--------------------------+----------------------

Comment (by qdinar):

 Replying to [comment:2 dd32]:
 "You can define custom content directories, or plugin directories in the
 wp-config.php"

 how to do it ?

 i have tried to write in wp-config.php , (wp-config.php is in "fake"
 directory, where many other files are links):


 {{{
 define('WP_PLUGIN_DIR','/var/www/saytlar/wordpress/wp-content/plugins/');
 }}}

 ("/var/www/saytlar/wordpress/" is place where real wordpress files are
 located, with plugins and themes, but without caches and uploads and
 without config)

 but it has not helped.

 i have searched "wp custom plugin directory" and "WP_PLUGIN_DIR" in google
 but have not found useful thing . with "WP_PLUGIN_DIR" i wanted easily
 find where it is defined.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20059#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list