Tpl: add static_root_url() method
This commit is contained in:
parent
5c8e39a6b2
commit
9f213f8065
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue