This commit is contained in:
Julio Cesar Laura Avendaño
2018-06-18 15:38:08 -04:00
parent 18aca9dbae
commit def5ed01c2
2 changed files with 9 additions and 258 deletions

View File

@@ -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;
}
}