mirror of
https://github.com/friendica/friendica
synced 2025-04-27 00:30:10 +00:00
Fix class methods staticity/return value
This commit is contained in:
parent
916236ce2f
commit
4b5894817e
3 changed files with 5 additions and 7 deletions
|
@ -312,10 +312,8 @@ class App {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get_basepath() {
|
||||
if (isset($this)) {
|
||||
$basepath = $this->basepath;
|
||||
}
|
||||
public function get_basepath() {
|
||||
$basepath = $this->basepath;
|
||||
|
||||
if (! $basepath) {
|
||||
$basepath = Config::get('system', 'basepath');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue