summaryrefslogtreecommitdiffstats
path: root/run.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--run.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/run.php b/run.php
new file mode 100644
index 0000000..e68e4d4
--- /dev/null
+++ b/run.php
@@ -0,0 +1,7 @@
+<?php
+// Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2
+
+require_once __DIR__ . '/vendor/autoload.php';
+
+$this->provideHook('director/ImportSource', '\\Icinga\\Module\\X509\\ProvidedHook\\HostsImportSource');
+$this->provideHook('director/ImportSource', '\\Icinga\\Module\\X509\\ProvidedHook\\ServicesImportSource');