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:
parent
63610c7b73
commit
797de5bfe0
4 changed files with 7 additions and 7 deletions
2
boot.php
2
boot.php
|
|
@ -767,7 +767,7 @@ class App {
|
|||
|
||||
}
|
||||
|
||||
function get_basepath() {
|
||||
public static function get_basepath() {
|
||||
|
||||
$basepath = get_config("system", "basepath");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue