Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Stefan Warnat
vtigercrm
Commits
2d1a1ae4
Commit
2d1a1ae4
authored
8 years ago
by
Prasad
Browse files
Options
Downloads
Patches
Plain Diff
php7 compact for *_magic_quotes_runtime
parent
05326ce4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/utils/utils.php
+3
-0
3 additions, 0 deletions
include/utils/utils.php
with
3 additions
and
0 deletions
include/utils/utils.php
+
3
−
0
View file @
2d1a1ae4
...
...
@@ -2338,5 +2338,8 @@ function php7_compat_ereg($pattern, $str, $ignore_case=false) {
if
(
!
function_exists
(
'ereg'
))
{
function
ereg
(
$pattern
,
$str
)
{
return
php7_compat_ereg
(
$pattern
,
$str
);
}
}
if
(
!
function_exists
(
'eregi'
))
{
function
eregi
(
$pattern
,
$str
)
{
return
php7_compat_ereg
(
$pattern
,
$str
,
true
);
}
}
if
(
!
function_exists
(
'get_magic_quotes_runtime'
))
{
function
get_magic_quotes_runtime
()
{
return
false
;
}
}
if
(
!
function_exists
(
'set_magic_quotes_runtime'
))
{
function
set_magic_quotes_runtime
(
$flag
)
{}
}
?>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment