-/**
- * Allows for the mu-plugins directory to be moved from the default location.
- *
- * @since 2.8.0
- */
-if ( !defined('WPMU_PLUGIN_URL') )
- define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL . '/mu-plugins' ); // full url, no trailing slash
-
-/**
- * Allows for the mu-plugins directory to be moved from the default location.
- *
- * @since 2.8.0
- */
-if ( !defined( 'MUPLUGINDIR' ) )
- define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); // Relative to ABSPATH. For back compat.
-
-if ( is_dir( WPMU_PLUGIN_DIR ) ) {
- if ( $dh = opendir( WPMU_PLUGIN_DIR ) ) {
- while ( ( $plugin = readdir( $dh ) ) !== false ) {
- if ( substr( $plugin, -4 ) == '.php' ) {
- include_once( WPMU_PLUGIN_DIR . '/' . $plugin );
- }
- }
- }
-}
-do_action('muplugins_loaded');
-
-/**
- * Used to guarantee unique hash cookies
- * @since 1.5
- */
-define('COOKIEHASH', md5(get_option('siteurl')));
-
-/**
- * Should be exactly the same as the default value of SECRET_KEY in wp-config-sample.php
- * @since 2.5.0
- */
-$wp_default_secret_key = 'put your unique phrase here';
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.0.0
- */
-if ( !defined('USER_COOKIE') )
- define('USER_COOKIE', 'wordpressuser_' . COOKIEHASH);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.0.0
- */
-if ( !defined('PASS_COOKIE') )
- define('PASS_COOKIE', 'wordpresspass_' . COOKIEHASH);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.5.0
- */
-if ( !defined('AUTH_COOKIE') )
- define('AUTH_COOKIE', 'wordpress_' . COOKIEHASH);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.6.0
- */
-if ( !defined('SECURE_AUTH_COOKIE') )
- define('SECURE_AUTH_COOKIE', 'wordpress_sec_' . COOKIEHASH);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.6.0
- */
-if ( !defined('LOGGED_IN_COOKIE') )
- define('LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.3.0
- */
-if ( !defined('TEST_COOKIE') )
- define('TEST_COOKIE', 'wordpress_test_cookie');
-
-/**
- * It is possible to define this in wp-config.php
- * @since 1.2.0
- */
-if ( !defined('COOKIEPATH') )
- define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) );
-
-/**
- * It is possible to define this in wp-config.php
- * @since 1.5.0
- */
-if ( !defined('SITECOOKIEPATH') )
- define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('siteurl') . '/' ) );
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.6.0
- */
-if ( !defined('ADMIN_COOKIE_PATH') )
- define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' );
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.6.0
- */
-if ( !defined('PLUGINS_COOKIE_PATH') )
- define( 'PLUGINS_COOKIE_PATH', preg_replace('|https?://[^/]+|i', '', WP_PLUGIN_URL) );
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.0.0
- */
-if ( !defined('COOKIE_DOMAIN') )
- define('COOKIE_DOMAIN', false);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.6.0
- */
-if ( !defined('FORCE_SSL_ADMIN') )
- define('FORCE_SSL_ADMIN', false);
-force_ssl_admin(FORCE_SSL_ADMIN);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.6.0
- */
-if ( !defined('FORCE_SSL_LOGIN') )
- define('FORCE_SSL_LOGIN', false);
-force_ssl_login(FORCE_SSL_LOGIN);
-
-/**
- * It is possible to define this in wp-config.php
- * @since 2.5.0
- */
-if ( !defined( 'AUTOSAVE_INTERVAL' ) )
- define( 'AUTOSAVE_INTERVAL', 60 );
-
-
-require (ABSPATH . WPINC . '/vars.php');
-
-// make taxonomies available to plugins and themes
-// @plugin authors: warning: this gets registered again on the init hook