diff options
author | Andrew Dolgov <[email protected]> | 2013-12-05 23:42:20 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-12-05 23:42:20 +0400 |
commit | 9864c1362a3bdccaf89f30fa1c6f82ffa7df5b4b (patch) | |
tree | b9ebd059149ef94aeebfc3f54c4a6bac7454369f /plugins/no_url_hashes/init.php | |
parent | 429ff9afb03b079b76c4a9080994ce05dd104515 (diff) |
add no_url_hashes plugin
Diffstat (limited to 'plugins/no_url_hashes/init.php')
-rw-r--r-- | plugins/no_url_hashes/init.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/no_url_hashes/init.php b/plugins/no_url_hashes/init.php new file mode 100644 index 000000000..da31267c2 --- /dev/null +++ b/plugins/no_url_hashes/init.php @@ -0,0 +1,25 @@ +<?php +class No_URL_Hashes extends Plugin { + private $host; + + function about() { + return array(1.0, + "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; + } + +} +?> |