Make WordPress Core


Ignore:
Timestamp:
05/27/2008 05:55:24 PM (18 years ago)
Author:
ryan
Message:

Allow wp-content to exist outside of webroot. Props sambauers. see #6938

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update.php

    r7979 r7999  
    118118                show_message($result);
    119119        } else {
    120                 //Result is the new plugin file relative to PLUGINDIR
     120                //Result is the new plugin file relative to WP_PLUGIN_DIR
    121121                show_message(__('Plugin upgraded successfully'));       
    122122                if( $result && $was_activated ){
    … …  
    165165                        error_reporting( E_ALL ^ E_NOTICE );
    166166                        @ini_set('display_errors', true); //Ensure that Fatal errors are displayed.
    167                         include(ABSPATH . PLUGINDIR . '/' . $plugin);
     167                        include(WP_PLUGIN_DIR . '/' . $plugin);
    168168                }
    169169                echo "</body></html>";
Note: See TracChangeset for help on using the changeset viewer.