WithRequestResolvedDocumentRoot is similar to WithRequestDocumentRoot but doesn't do any checks or resolving on the path to improve performance.
(documentRoot string)
| 62 | // WithRequestResolvedDocumentRoot is similar to WithRequestDocumentRoot |
| 63 | // but doesn't do any checks or resolving on the path to improve performance. |
| 64 | func WithRequestResolvedDocumentRoot(documentRoot string) RequestOption { |
| 65 | return func(o *frankenPHPContext) error { |
| 66 | o.documentRoot = documentRoot |
| 67 | |
| 68 | return nil |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | // WithRequestSplitPath contains a list of split path strings. |
| 73 | // |