]> git.p6c8.net - jirafeau_project.git/commit
[FEATURE] Autogenerate prefix for absolute links
authorDan Untenzu <untenzu@webit.de>
Wed, 18 Jan 2017 18:32:37 +0000 (19:32 +0100)
committerJerome Jutteau <jerome.jutteau@outscale.com>
Thu, 23 Feb 2017 17:34:19 +0000 (18:34 +0100)
commit1f063df81260072ce942d4ad28ab109997c100c1
treee170d02229f615d482e31b807202e12ef4e948de
parent50f88df47f6d5b3cb5dc20fb2e9d3022862adbcf
[FEATURE] Autogenerate prefix for absolute links

Add a helping variable to build absolute links to
the root of the domain without handling the URL scheme.

This way all links could get rid of the host & domain part,
and just build absolute links to the root instead.
(Replace "[https://example.com/foo/] + [functions.js]" with
"[/foo/] + [functions.js]")

Refs #79
lib/settings.php

patrick-canterino.de