Webmention frontend
This commit is contained in:
@@ -32,6 +32,7 @@ if (!defined('STATUSNET')) {
|
||||
}
|
||||
|
||||
require_once('Auth/Yadis/Yadis.php');
|
||||
require_once(__DIR__ . '/lib/util.php');
|
||||
|
||||
define('LINKBACKPLUGIN_VERSION', '0.1');
|
||||
|
||||
@@ -306,6 +307,12 @@ class LinkbackPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function onRouterInitialized(URLMapper $m)
|
||||
{
|
||||
$m->connect('main/linkback/webmention', array('action' => 'webmention'));
|
||||
}
|
||||
|
||||
public function version()
|
||||
{
|
||||
return LINKBACKPLUGIN_VERSION;
|
||||
|
Reference in New Issue
Block a user