From ea46bd0a4a040040c9cadd45441089bce9769bea Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 16 Feb 2017 03:07:26 -0500 Subject: Rm old content --- examples/class/controller.class.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 examples/class/controller.class.php (limited to 'examples/class/controller.class.php') diff --git a/examples/class/controller.class.php b/examples/class/controller.class.php deleted file mode 100644 index 3e05812..0000000 --- a/examples/class/controller.class.php +++ /dev/null @@ -1,31 +0,0 @@ -redirectTo("https://" . $_SERVER['SERVER_NAME'] . $this->ap()); - } - - /* - * Security check - * Assert that the current connection to this server is NOT secure. Redirects if not. - */ - function sec_forbid_https() - { - if (isset($_SERVER['HTTPS'])) - $this->redirectTo("http://" . $_SERVER['SERVER_NAME'] . $this->ap()); - } -} - -?> -- cgit v1.2.3