1<?php
2// phpcs:disable PSR1.Files.SideEffects
3
4if (!defined('DOKU_INC')) {
5    define('DOKU_INC', realpath(dirname(__FILE__) . '/../../../') . '/');
6}
7
8define('NOSESSION', 1);
9require_once(DOKU_INC . 'inc/init.php');
10
11if (!defined('DOKU_TESTING')) {
12    // Main
13    $hook = new \dokuwiki\plugin\issuelinks\Webhook();
14    $hook->run();
15}
16