diff options
author | emkael <emkael@tlen.pl> | 2016-03-09 16:40:25 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-03-09 16:40:25 +0100 |
commit | 0d538c464954334652c86f74fdeb7b756713bf53 (patch) | |
tree | 615d246bb84902818f16d976506ed7520d3527c4 /app/php/url | |
parent | 9ffd441c1165284cf1de1907b8fd5f64383d3543 (diff) |
* configuration split into modules
Diffstat (limited to 'app/php/url')
-rw-r--r-- | app/php/url/config.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/php/url/config.xml b/app/php/url/config.xml new file mode 100644 index 0000000..a5870cd --- /dev/null +++ b/app/php/url/config.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <modules> + <module id="url" + class="Application.url.UrlManager" + UrlPrefix="/" + EnableCustomUrl="True"> + <url ServiceParameter="Home" + UrlFormat="HiddenPath" + pattern="{month}/{year}/" + parameters.month="\d{2}" + parameters.year="\d{4}" /> + <url ServiceParameter="Home" + UrlFormat="HiddenPath" + pattern="{month}/" + parameters.month="\d{2}" /> + <url ServiceParameter="Home" + UrlFormat="HiddenPath" + EnableCustomUrl="false" + pattern="" /> + <url ServiceParameter="*" + UrlFormat="HiddenPath" + EnableCustomUrl="false" + pattern="{*}" /> + </module> + + <module id="request" + class="THttpRequest" + UrlFormat="HiddenPath" + UrlParamSeparator="/" + UrlManager="url" /> + </modules> +</configuration> |