diff options
Diffstat (limited to 'init.php')
-rwxr-xr-x | init.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/init.php b/init.php new file mode 100755 index 0000000..c72a63e --- /dev/null +++ b/init.php @@ -0,0 +1,22 @@ +<?php +class HL_Legacy extends Plugin { + private $host; + + function about() { + return array(1.0, + "Revert back to legacy headline click behavior", + "fox"); + } + + function init($host) { + $this->host = $host; + } + + function get_js() { + return file_get_contents(__DIR__ . "/init.js"); + } + + function api_version() { + return 2; + } +} |