Nope, get_basepath() should be static, then also mark it as static (in signature).

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder
2016-12-13 14:53:57 +01:00
parent 63610c7b73
commit 797de5bfe0
4 changed files with 7 additions and 7 deletions

View File

@@ -767,7 +767,7 @@ class App {
}
function get_basepath() {
public static function get_basepath() {
$basepath = get_config("system", "basepath");