Skip to content
Snippets Groups Projects
Commit 99b5cece authored by Benjamin Adams's avatar Benjamin Adams
Browse files

Merge pull request #2 from ulrichblock/master

Update index-wp-redis.php 

Easy enough fix =)
parents 8257b641 89c8f144
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,8 @@ if (isset($_GET['refresh']) || $_GET['refresh'] == $secret_string || ($_SERVER[' ...@@ -69,6 +69,8 @@ if (isset($_GET['refresh']) || $_GET['refresh'] == $secret_string || ($_SERVER['
} else if ($_SERVER['REMOTE_ADDR'] != $ip_of_your_website && strstr($current_url, 'preview=true') == true) {
require('./wp-blog-header.php');
} }
// else { // This is what your server should get if no cache exists //depricated, as the ob_start() is cleaner // else { // This is what your server should get if no cache exists //depricated, as the ob_start() is cleaner
// require('./wp-blog-header.php'); // require('./wp-blog-header.php');
...@@ -92,4 +94,4 @@ function getMicroTime($t) ...@@ -92,4 +94,4 @@ function getMicroTime($t)
?> ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment