mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
fd57b239d2
Always use dirname() or, once available, ABSPATH. props ketwaroo, hakre. fixes #17092. Built from https://develop.svn.wordpress.org/trunk@25616 git-svn-id: http://core.svn.wordpress.org/trunk@25533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
20 lines
466 B
PHP
20 lines
466 B
PHP
<?php
|
|
/**
|
|
* Install theme network administration panel.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Multisite
|
|
* @since 3.1.0
|
|
*/
|
|
|
|
if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
|
|
define( 'IFRAME_REQUEST', true );
|
|
|
|
/** Load WordPress Administration Bootstrap */
|
|
require_once( dirname( __FILE__ ) . '/admin.php' );
|
|
|
|
if ( ! is_multisite() )
|
|
wp_die( __( 'Multisite support is not enabled.' ) );
|
|
|
|
require( ABSPATH . 'wp-admin/theme-install.php' );
|