]> git.mxchange.org Git - friendica.git/blobdiff - mod/photo.php
finish refactoring to Module\Contact
[friendica.git] / mod / photo.php
index 6d456b349e9c496ff7168407bde68dcdf5ca9565..b1dd9a5c3a3c60863c5fb71b5c7fc2f194016581 100644 (file)
@@ -192,7 +192,7 @@ function photo_init(App $a)
        // If the photo is public and there is an existing photo directory store the photo there
        if ($public and $file != '') {
                // If the photo path isn't there, try to create it
-               $basepath = $a->get_basepath();
+               $basepath = $a->getBasePath();
                if (!is_dir($basepath . "/photo")) {
                        if (is_writable($basepath)) {
                                mkdir($basepath . "/photo");