Merge pull request #40 from christopherdarling/patch-1

DOCS: fix references to static-main.php
This commit is contained in:
Damian Mooyman 2015-07-02 12:25:34 +12:00
commit 62d5bc5daf

View File

@ -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:
@ -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]