X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FGNUsocialPhotos%2FGNUsocialPhotosPlugin.php;fp=plugins%2FGNUsocialPhotos%2FGNUsocialPhotosPlugin.php;h=499d376fcce5f5e26beabf61f11bd09206fc0ede;hb=407aa6a9470fc289e550b849a9b0f953d16a1331;hp=a3aed95c0cefd2ac1511a2758f6ed22b5e8749b5;hpb=90521450a069e856183d192e8aff85d158e632b8;p=quix0rs-gnu-social.git diff --git a/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php b/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php index a3aed95c0c..499d376fcc 100644 --- a/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php +++ b/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php @@ -56,6 +56,10 @@ class GNUsocialPhotosPlugin extends Plugin include_once $dir . '/lib/photolib.php'; include_once $dir . '/actions/' . strtolower(mb_substr($cls, 0, -6)) . '.php'; break; + case 'EditphotoAction': + include_once $dir . '/lib/photolib.php'; + include_once $dir . '/actions/' . strtolower(mb_substr($cls, 0, -6)) . '.php'; + break; default: break; } @@ -89,6 +93,7 @@ class GNUsocialPhotosPlugin extends Plugin $m->connect(':nickname/photos/:albumid', array('action' => 'photos')); $m->connect('main/uploadphoto', array('action' => 'photoupload')); $m->connect('photo/:photoid', array('action' => 'photo')); + $m->connect('editphoto/:photoid', array('action' => 'editphoto')); return true; }