diff options
Diffstat (limited to 'init.php')
-rw-r--r-- | init.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/init.php b/init.php new file mode 100644 index 0000000..57d4c99 --- /dev/null +++ b/init.php @@ -0,0 +1,24 @@ +<?php +class No_URL_Hashes extends Plugin { + private $host; + + function about() { + return array(null, + "Disable URL hash usage (e.g. #f=10, etc)", + "fox"); + } + + function init($host) { + $this->host = $host; + + } + + function get_js() { + return file_get_contents(__DIR__ . "/init.js"); + } + + function api_version() { + return 2; + } + +}
\ No newline at end of file |