-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
40 lines (34 loc) · 919 Bytes
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* HTTP USERNAME AND PASSWORD AUTHENTICATION
*
* Uncomment lines 12-21 to use
*
* Make sure to pick a real USERNAME and PASSWORD!
*
*/
// if ( !isset($_SERVER['PHP_AUTH_USER']) ) {
// header('WWW-Authenticate: Basic realm="You Shall Not Pass"');
// header('HTTP/1.0 401 Unauthorized');
// exit;
//}
//else {
// if ( $_SERVER['PHP_AUTH_USER'] != 'USERNAME' || $_SERVER['PHP_AUTH_PW'] != 'PASSWORD' ) {
// die("Wrong password!");
// }
//}
/**
* 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 */
/** CHANGE 'wp-directory' to your directory name! **/
require('./wp-directory/wp-blog-header.php');