29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-26 07:13:21 +00:00

Magic quotes removal since PHP 5.4 Deprecated it..

This commit is contained in:
Tony Partridge - xtech86 2017-03-18 12:42:45 +00:00
parent c8105d92aa
commit 02ef307f94
5 changed files with 0 additions and 17 deletions

View File

@ -8,9 +8,6 @@
defined('_JEXEC') or die;
// Joomla system checks.
@ini_set('magic_quotes_runtime', 0);
// System includes
require_once JPATH_LIBRARIES . '/bootstrap.php';

View File

@ -8,9 +8,6 @@
defined('_JEXEC') or die;
// Joomla system checks.
@ini_set('magic_quotes_runtime', 0);
// System includes
require_once JPATH_LIBRARIES . '/bootstrap.php';

View File

@ -14,7 +14,6 @@ defined('_JEXEC') or die;
*/
const JDEBUG = false;
@ini_set('magic_quotes_runtime', 0);
/*
* Check if a configuration file already exists.

View File

@ -368,13 +368,6 @@ class InstallationModelSetup extends JModelBase
$setting->recommended = true;
$settings[] = $setting;
// Check for magic quotes runtimes.
$setting = new stdClass;
$setting->label = JText::_('INSTL_MAGIC_QUOTES_RUNTIME');
$setting->state = (bool) ini_get('magic_quotes_runtime');
$setting->recommended = false;
$settings[] = $setting;
// Check for output buffering.
$setting = new stdClass;
$setting->label = JText::_('INSTL_OUTPUT_BUFFERING');

View File

@ -25,9 +25,6 @@ function jexit($message = 0)
define('_JEXEC', 1);
// Fix magic quotes.
ini_set('magic_quotes_runtime', 0);
// Maximise error reporting.
ini_set('zend.ze1_compatibility_mode', '0');
error_reporting(E_ALL);