]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/theme-install.php
WordPress 4.3-scripts
[autoinstalls/wordpress.git] / wp-admin / network / theme-install.php
index bc4e6269aa6e049fd932db5ec3295adcd17a3fd4..c666eaff1c0e9c18627b4ae779347e8f78733638 100644 (file)
@@ -11,9 +11,9 @@ if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
        define( 'IFRAME_REQUEST', true );
 
 /** Load WordPress Administration Bootstrap */
        define( 'IFRAME_REQUEST', true );
 
 /** Load WordPress Administration Bootstrap */
-require_once( './admin.php' );
+require_once( dirname( __FILE__ ) . '/admin.php' );
 
 if ( ! is_multisite() )
        wp_die( __( 'Multisite support is not enabled.' ) );
 
 
 if ( ! is_multisite() )
        wp_die( __( 'Multisite support is not enabled.' ) );
 
-require( '../theme-install.php' );
\ No newline at end of file
+require( ABSPATH . 'wp-admin/theme-install.php' );