Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecurityInfo/PhpSecInfo/Test/Core/display_errors.php')
-rw-r--r--plugins/SecurityInfo/PhpSecInfo/Test/Core/display_errors.php62
1 files changed, 0 insertions, 62 deletions
diff --git a/plugins/SecurityInfo/PhpSecInfo/Test/Core/display_errors.php b/plugins/SecurityInfo/PhpSecInfo/Test/Core/display_errors.php
deleted file mode 100644
index e0e93d6748..0000000000
--- a/plugins/SecurityInfo/PhpSecInfo/Test/Core/display_errors.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-/**
- * Test class for display_errors
- *
- * @package PhpSecInfo
- * @author Ed Finkler <coj@funkatron.com>
- */
-
-
-/**
- * require the PhpSecInfo_Test_Core class
- */
-require_once(PHPSECINFO_BASE_DIR.'/Test/Test_Core.php');
-
-/**
- * Test class for display_errors
- *
- * @package PhpSecInfo
- */
-class PhpSecInfo_Test_Core_Display_Errors extends PhpSecInfo_Test_Core
-{
-
- /**
- * This should be a <b>unique</b>, human-readable identifier for this test
- *
- * @var string
- */
- var $test_name = "display_errors";
-
- var $recommended_value = FALSE;
-
- function _retrieveCurrentValue() {
- $this->current_value = $this->getBooleanIniValue('display_errors');
- }
-
-
- /**
- * Checks to see if display_errors is enabled
- *
- */
- function _execTest() {
- if ($this->current_value == $this->recommended_value) {
- return PHPSECINFO_TEST_RESULT_OK;
- }
-
- return PHPSECINFO_TEST_RESULT_NOTICE;
- }
-
-
- /**
- * Set the messages specific to this test
- *
- */
- function _setMessages() {
- parent::_setMessages();
-
- $this->setMessageForResult(PHPSECINFO_TEST_RESULT_OK, 'en', 'display_errors is disabled, which is the recommended setting');
- $this->setMessageForResult(PHPSECINFO_TEST_RESULT_NOTICE, 'en', 'display_errors is enabled. This is not recommended on "production" servers, as it could reveal sensitive information. You should consider disabling this feature');
- }
-
-
-} \ No newline at end of file