WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20059


Ignore:
Timestamp:
02/17/12 10:21:03 (2 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20059 – Description

    initial v1  
    11I want to manager some wordpress with only one code replication. So i make hard link (only wp-config.php, directories and some file are uniq and writable by users) 
    2 __FILE__ is generated at compile time and there is lot of problems. 
     2{{{__FILE__}}} is generated at compile time and there is lot of problems. 
    33 
    44I tried this (in wp-load.php) and it seems to work better : 
     5 
     6{{{ 
    57/*define( 'ABSPATH', dirname(__FILE__) . '/' );*/ 
    68define( 'ABSPATH', dirname($_SERVER["SCRIPT_FILENAME"]) . '/' ); 
     9}}}