mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
rename prefix and add require
This commit is contained in:
parent
34fc60be77
commit
95e075865f
5 changed files with 12 additions and 10 deletions
|
@ -12,6 +12,8 @@ use Friendica\Core\Hook;
|
|||
use Friendica\Core\System;
|
||||
use Jaybizzle\CrawlerDetect\CrawlerDetect;
|
||||
|
||||
require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
|
||||
function blockbot_install() {
|
||||
Hook::register('init_1', 'addon/blockbot/blockbot.php', 'blockbot_init_1');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue