Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

The setting magic_quotes_runtime is removed in PHP5.4.0 (see: https:/… #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diegocaprioli
Copy link

The setting magic_quotes_runtime is removed in PHP5.4.0 (see: https://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime) so the function call is unneeded. Added backwards compatibility by wrapping the calls in an if statement checking phpversion using version_compare.

Also, this fixes an error we were having with :get_magic_quotes_runtime()":

Function get_magic_quotes_runtime() is deprecated in PHP 7+

This function is in the /rguedes/pdfmerger package in this file: /Classes/fpdf/fpdf.php, line 1043

…/www.php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime) so the function call is unneeded. Added backwards compatibility by wrapping the calls in an if statement checking phpversion using version_compare.

Also, this fixes an error we were having with :get_magic_quotes_runtime()":
Function get_magic_quotes_runtime() is deprecated in PHP 7+
This function is in the /rguedes/pdfmerger package in this file: /Classes/fpdf/fpdf.php, line 1043
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant