From 9864c1362a3bdccaf89f30fa1c6f82ffa7df5b4b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 5 Dec 2013 23:42:20 +0400 Subject: [PATCH] add no_url_hashes plugin --- plugins/no_url_hashes/init.js | 4 ++++ plugins/no_url_hashes/init.php | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 plugins/no_url_hashes/init.js create mode 100644 plugins/no_url_hashes/init.php diff --git a/plugins/no_url_hashes/init.js b/plugins/no_url_hashes/init.js new file mode 100644 index 000000000..a437a1f3e --- /dev/null +++ b/plugins/no_url_hashes/init.js @@ -0,0 +1,4 @@ +dojo.addOnLoad(function() { + hash_set = function() { }; + hash_get = function() { }; +}); 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 @@ +host = $host; + + } + + function get_js() { + return file_get_contents(__DIR__ . "/init.js"); + } + + function api_version() { + return 2; + } + +} +?>