]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/theme-install.php
Wordpress 3.7
[autoinstalls/wordpress.git] / wp-admin / theme-install.php
index 14d9f52e84cfa92145129c109c0884abaa68f363..07f42d7ee218088716430960d72144cee31a338d 100644 (file)
@@ -10,7 +10,7 @@ if ( !defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'theme-informati
        define( 'IFRAME_REQUEST', true );
 
 /** WordPress Administration Bootstrap */
-require_once('./admin.php');
+require_once( dirname( __FILE__ ) . '/admin.php' );
 
 if ( ! current_user_can('install_themes') )
        wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) );