Merged in bugfix/HOR-4663 (pull request #6530)
HOR-4663 Approved-by: Paula Quispe <paula.quispe@processmaker.com> Approved-by: Dante Loayza <dante.loayza@colosa.com> Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -409,3 +409,12 @@ function csrfToken()
|
||||
{
|
||||
return isset($_SESSION['USR_CSRF_TOKEN']) ? $_SESSION['USR_CSRF_TOKEN'] : '';
|
||||
}
|
||||
|
||||
// Methods deleted in PHP 7.x, added in this file in order to keep compatibility with old libraries included/used in ProcessMaker
|
||||
if (!function_exists('set_magic_quotes_runtime')) {
|
||||
function set_magic_quotes_runtime($value) {
|
||||
// This method always return false, because this method doesn't set anything from PHP version 5.3
|
||||
// http://www.php.net/manual/en/function.set-magic-quotes-runtime.php
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user