Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* >> */
- if (!isset($_COOKIE['language'])) {
- header("Location: /select.php");
- exit;
- } elseif ($_COOKIE['language'] == 'english') {
- header("Location: /en");
- exit;
- }
- /* << */
- /**
- * Front to the WordPress application. This file doesn't do anything, but loads
- * wp-blog-header.php which does and tells WordPress to load the theme.
- *
- * @package WordPress
- */
- /**
- * Tells WordPress to load the WordPress theme and output it.
- *
- * @var bool
- */
- define('WP_USE_THEMES', true);
- /** Loads the WordPress Environment and Template */
- require('./wp-blog-header.php');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement