Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
1db6d86c
Commit
1db6d86c
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: versions
parent
c35018be
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/check.php
+3
-3
3 additions, 3 deletions
htdocs/install/check.php
with
3 additions
and
3 deletions
htdocs/install/check.php
+
3
−
3
View file @
1db6d86c
...
...
@@ -71,12 +71,12 @@ if (! empty($useragent))
// Check PHP version
if
(
versioncompare
(
versionphparray
(),
array
(
4
,
3
,
10
))
<
0
)
// Minimum to use (error if lower)
if
(
versioncompare
(
versionphparray
(),
array
(
5
,
2
,
3
))
<
0
)
// Minimum to use (error if lower)
{
print
'<img src="../theme/eldy/img/error.png" alt="Error"> '
.
$langs
->
trans
(
"ErrorPHPVersionTooLow"
,
'
4.3.10
'
);
print
'<img src="../theme/eldy/img/error.png" alt="Error"> '
.
$langs
->
trans
(
"ErrorPHPVersionTooLow"
,
'
5.2.3
'
);
$checksok
=
0
;
// 0=error, 1=warning
}
else
if
(
versioncompare
(
versionphparray
(),
array
(
5
,
3
,
0
))
<
0
)
// Minimum supported (
error
if lower)
else
if
(
versioncompare
(
versionphparray
(),
array
(
5
,
3
,
0
))
<
0
)
// Minimum supported (
warning
if lower)
{
print
'<img src="../theme/eldy/img/warning.png" alt="Error"> '
.
$langs
->
trans
(
"ErrorPHPVersionTooLow"
,
'5.3.0'
);
$checksok
=
0
;
// 0=error, 1=warning
...
...
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