forked from WordPress/WordPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ms-index.php
24 lines (20 loc) · 952 Bytes
/
ms-index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* @version $Id: index.php 10381 2008-06-01 03:35:53Z rafa $
* @package WordPress for Joomla
* @copyright Copyright (C) 2010 'corePHP' LLC, www.corephp.com. All rights reserved.
* @license GNU/GPL, see LICENSE.php
*/
$_SERVER['WPPRE_SCRIPT_FILENAME'] = $_SERVER['SCRIPT_FILENAME'];
$_SERVER['WPPRE_REQUEST_URI'] = $_SERVER['REQUEST_URI'];
$_SERVER['WPPRE_SCRIPT_NAME'] = $_SERVER['SCRIPT_NAME'];
$_SERVER['WPPRE_PHP_SELF'] = $_SERVER['PHP_SELF'];
$_SERVER['SCRIPT_FILENAME'] = dirname( dirname( $_SERVER['SCRIPT_FILENAME'] ) )
. DIRECTORY_SEPARATOR . 'index.php';
// $_SERVER['REQUEST_URI'] = dirname( dirname( $_SERVER['REQUEST_URI'] ) ) . '/index.php';
$_SERVER['SCRIPT_NAME'] = dirname( dirname( $_SERVER['SCRIPT_NAME'] ) ) . '/index.php';
$_SERVER['PHP_SELF'] = dirname( dirname( $_SERVER['PHP_SELF'] ) ) . '/index.php';
if ( !isset( $_REQUEST['option'] ) ) {
$_REQUEST['option'] = 'com_wordpress';
}
include( '../index.php' );