Skip to content

Commit

Permalink
Merge pull request #40 from christopherdarling/patch-1
Browse files Browse the repository at this point in the history
DOCS: fix references to static-main.php
  • Loading branch information
Damian Mooyman committed Jul 2, 2015
2 parents 937a3b5 + bc77768 commit 62d5bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/StaticPublisher.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ RewriteRule .* staticpublisher/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###
```

* We use a simple PHP script, `static-main.php`, to control cache lookup. This
* We use a simple PHP script, `staticpublisher/main.php`, to control cache lookup. This
makes the `.htaccess` update simpler.

Just look for this line:
Expand All @@ -216,7 +216,7 @@ Just look for this line:
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
```

And change the PHP script from `main.php` to `static-main.php`:
And change the PHP script from `framework/main.php` to `staticpublisher/main.php`:

```
RewriteRule .* staticpublisher/main.php?url=%1&%{QUERY_STRING} [L]
Expand Down

0 comments on commit 62d5bc5

Please sign in to comment.