DOCS: fix references to static-main.php

framework/static-main.php no longer exists and is now part of this module, references to static-main.php have been updated to staticpublisher/main.php
This commit is contained in:
Christopher Darling 2014-11-18 12:16:26 +00:00
parent 76ba1a8b25
commit bc77768412

View File

@ -207,7 +207,7 @@ RewriteRule .* staticpublisher/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ### ### 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. makes the `.htaccess` update simpler.
Just look for this line: Just look for this line:
@ -216,7 +216,7 @@ Just look for this line:
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L] 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] RewriteRule .* staticpublisher/main.php?url=%1&%{QUERY_STRING} [L]