Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbestle committed Jan 20, 2023
1 parent 90bd1c8 commit 9ef2d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To load the static cache files from PHP, please place the following code snippet
return;
}

// determine the exact file to use
// determine the exact file to use
$path = $root . '/' . ltrim($_SERVER['REQUEST_URI'] ?? '', '/');
if (is_file($path . '/index.html') === true) {
// a HTML representation exists in the cache
Expand Down Expand Up @@ -271,7 +271,7 @@ Afterwards add the following block to your `.htaccess` file to make Apache use `
Replace the last line of the loader function with this code:

```php
// split the file into headers (before two line breaks) and body
// split the file into headers (before two line breaks) and body
$file = file_get_contents($path);
$divide = mb_strpos($file, "\n\n");
$headers = mb_substr($file, 0, $divide);
Expand Down

0 comments on commit 9ef2d71

Please sign in to comment.