Tpl: add static_root_url() method

This commit is contained in:
Benjamin Renard 2023-03-02 19:57:06 +01:00
parent 5c8e39a6b2
commit 9f213f8065
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -666,6 +666,14 @@ class Tpl {
return null;
}
/**
* Get static root URL
* @return string|null
*/
public static function static_root_url() {
return self :: $static_root_url;
}
/**
* Clean static root URL helper
* @param string $value