|
|
effc252 |
diff -up wordpress/wp-includes/default-constants.php.rhbz522897 wordpress/wp-includes/default-constants.php
|
|
|
6ba3b26 |
--- wordpress/wp-includes/default-constants.php.rhbz522897 2010-05-26 04:42:15.000000000 +0200
|
|
|
6ba3b26 |
+++ wordpress/wp-includes/default-constants.php 2011-06-02 12:29:57.919714584 +0200
|
|
|
effc252 |
@@ -39,7 +39,7 @@ function wp_initial_constants( ) {
|
|
|
effc252 |
@ini_set('memory_limit', WP_MEMORY_LIMIT);
|
|
|
effc252 |
|
|
|
effc252 |
if ( !defined('WP_CONTENT_DIR') )
|
|
|
effc252 |
- define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
|
|
|
effc252 |
+ define( 'WP_CONTENT_DIR', '/var/www/wordpress/wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
|
|
|
effc252 |
|
|
|
effc252 |
// Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development.
|
|
|
effc252 |
if ( !defined('WP_DEBUG') )
|
|
|
6ba3b26 |
@@ -75,7 +75,7 @@ function wp_initial_constants( ) {
|
|
|
6ba3b26 |
*/
|
|
|
6ba3b26 |
function wp_plugin_directory_constants( ) {
|
|
|
6ba3b26 |
if ( !defined('WP_CONTENT_URL') )
|
|
|
6ba3b26 |
- define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
|
|
|
6ba3b26 |
+ define( 'WP_CONTENT_URL', get_option('siteurl')); // full url - WP_CONTENT_DIR is defined further up
|
|
|
6ba3b26 |
|
|
|
6ba3b26 |
/**
|
|
|
6ba3b26 |
* Allows for the plugins directory to be moved from the default location.
|
|
|
6ba3b26 |
@@ -100,7 +100,7 @@ function wp_plugin_directory_constants(
|
|
|
6ba3b26 |
* @deprecated
|
|
|
6ba3b26 |
*/
|
|
|
6ba3b26 |
if ( !defined('PLUGINDIR') )
|
|
|
6ba3b26 |
- define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.
|
|
|
6ba3b26 |
+ define( 'PLUGINDIR', WP_CONTENT_DIR . 'plugins' ); // Relative to ABSPATH. For back compat.
|
|
|
6ba3b26 |
|
|
|
6ba3b26 |
/**
|
|
|
6ba3b26 |
* Allows for the mu-plugins directory to be moved from the default location.
|