Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
Update WpLoader.php (#5)
Browse files Browse the repository at this point in the history
Make sure there's no newlines or whitespace before the opening php tag
  • Loading branch information
nigrosimone authored Aug 5, 2016
1 parent ae9e9f8 commit 569b9f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/W3/Environment/WpLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ public function create() {
$path = trim(w3_get_wp_sitepath() ,"/");
if ($path)
$path .= '/';
$file_data = "
<?php
$file_data = "<?php
if (W3TC_WP_LOADING)
require_once '" . w3_get_document_root() . '/' . $path . "wp-load.php';
";
Expand Down

0 comments on commit 569b9f4

Please sign in to comment.