From 60cb4ab5e55de4b3eeddb5c3b5f22d298160045e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 Aug 2006 00:00:01 +0000 Subject: [PATCH] bug #175 --- includes/shutdown.php | 26 ++++++++++++++++++++++++++ pages/account/10.php | 4 +++- pages/account/16.php | 4 +++- pages/account/20.php | 4 +++- pages/account/3.php | 4 +++- pages/gpg/0.php | 4 +++- pages/wot/5.php | 4 +++- 7 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 includes/shutdown.php diff --git a/includes/shutdown.php b/includes/shutdown.php new file mode 100644 index 0000000..c597e41 --- /dev/null +++ b/includes/shutdown.php @@ -0,0 +1,26 @@ + + + This file is part of CAcert. + + CAcert has been released under a CAcert Source license + which can be found included with these source files or can + be downloaded from the internet from the following address: + http://www.cacert.org/src-lic.php + + CAcert is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the License for more details. +*/ + + // This is the big power-off switch. It switches off all certificate issueing and assuring functions of the website. + // Revocation services are NOT affected, and will continue to work. + + if(0) + { ?> + http://wiki.cacert.org/wiki/ClientSecurity")?> + diff --git a/pages/account/10.php b/pages/account/10.php index 937c402..293f918 100644 --- a/pages/account/10.php +++ b/pages/account/10.php @@ -11,7 +11,9 @@ CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. -*/ ?> +*/ + include_once("../includes/shutdown.php"); +?>

diff --git a/pages/account/16.php b/pages/account/16.php index cf57fad..447e98f 100644 --- a/pages/account/16.php +++ b/pages/account/16.php @@ -11,7 +11,9 @@ CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. -*/ ?> +*/ + include_once("../includes/shutdown.php"); +?>
diff --git a/pages/account/20.php b/pages/account/20.php index 932905f..5f1a88a 100644 --- a/pages/account/20.php +++ b/pages/account/20.php @@ -11,7 +11,9 @@ CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. -*/ ?> +*/ + include_once("../includes/shutdown.php"); +?>

diff --git a/pages/account/3.php b/pages/account/3.php index 8da5762..1c8cb18 100644 --- a/pages/account/3.php +++ b/pages/account/3.php @@ -11,7 +11,9 @@ CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. -*/ ?> +*/ + include_once("../includes/shutdown.php"); +?>

diff --git a/pages/gpg/0.php b/pages/gpg/0.php index f3d7128..8abec94 100644 --- a/pages/gpg/0.php +++ b/pages/gpg/0.php @@ -11,7 +11,9 @@ CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. -*/ ?> +*/ + include_once("../includes/shutdown.php"); +?>


diff --git a/pages/wot/5.php b/pages/wot/5.php index c8399ac..3497875 100644 --- a/pages/wot/5.php +++ b/pages/wot/5.php @@ -11,7 +11,9 @@ CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. -*/ ?> +*/ + include_once("../includes/shutdown.php"); +?>
: