Added support for base_url (i.e the CMS can be hosted on the root, or sub folder).

Local paths are relative to cms site url (i.e no starting slash).
Favor CMS_RESPONSE.absolute_url and url .. instead of using directly WSF_REQUEST.absolute_script_url and script_url.
Handled unicode truncation issue for logger.
Code cleaning.
This commit is contained in:
2015-05-19 13:44:08 +02:00
parent 51699f3bd3
commit 91457080fd
31 changed files with 237 additions and 94 deletions

View File

@@ -101,7 +101,7 @@ feature -- Hooks
local
lnk: CMS_LOCAL_LINK
do
create lnk.make ("Blogs", "/blogs/")
create lnk.make ("Blogs", "blogs/")
a_menu_system.primary_menu.extend (lnk)
end