Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
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
Model registry
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
Martin Allen
vtigercrm
Commits
51130a02
Commit
51130a02
authored
9 years ago
by
Adrián Granado
Browse files
Options
Downloads
Patches
Plain Diff
Coherence in recommended settings
parent
c4c5ec73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
layouts/vlayout/modules/Install/Step3.tpl
+21
-2
21 additions, 2 deletions
layouts/vlayout/modules/Install/Step3.tpl
modules/Install/models/Utils.php
+1
-1
1 addition, 1 deletion
modules/Install/models/Utils.php
with
22 additions
and
3 deletions
layouts/vlayout/modules/Install/Step3.tpl
+
21
−
2
View file @
51130a02
...
...
@@ -42,8 +42,27 @@
<table
class=
"config-table"
>
<tr><th>
{
vtranslate
(
'LBL_PHP_CONFIGURATION'
,
'Install'
)
}
</th><th>
{
vtranslate
(
'LBL_REQUIRED_VALUE'
,
'Install'
)
}
</th><th>
{
vtranslate
(
'LBL_PRESENT_VALUE'
,
'Install'
)
}
</th></tr>
{
foreach
key
=
CONFIG_NAME
item
=
INFO
from
=
$SYSTEM_PREINSTALL_PARAMS
}
<tr><td>
{
vtranslate
(
$CONFIG_NAME
,
'Install'
)
}
</td><td>
{
if
$INFO.1
eq
1
}
{
vtranslate
(
'LBL_TRUE'
,
'Install'
)
}
{
else
}
{
$INFO.1
}
{/
if
}
</td>
<td
{
if
$INFO.2
eq
false
}
class=
"no"
>
{
vtranslate
(
'LBL_NO'
,
'Install'
)
}
{
else
if
(
$INFO.2
eq
true
and
$INFO.1
===
true
)
}
>
{
vtranslate
(
'LBL_YES'
,
'Install'
)
}
{
else
}
>
{
$INFO.0
}
{/
if
}
</td></tr>
<tr><td>
{
vtranslate
(
$CONFIG_NAME
,
'Install'
)
}
</td>
<td>
{
if
$INFO.1
eq
1
}
{
vtranslate
(
'LBL_YES'
,
'Install'
)
}
{
else
}
{
$INFO.1
}
{/
if
}
</td>
<td
{
if
$INFO.2
eq
false
}
class=
"no"
>
{
if
$CONFIG_NAME
=
'LBL_PHP_VERSION'
}
{
$INFO.0
}
{
else
}
{
vtranslate
(
'LBL_NO'
,
'Install'
)
}
{/
if
}
{
else
if
(
$INFO.2
eq
true
and
$INFO.1
===
true
)
}
>
{
vtranslate
(
'LBL_YES'
,
'Install'
)
}
{
else
}
>
{
$INFO.0
}
{/
if
}
</td></tr>
{/
foreach
}
</table>
<br>
...
...
This diff is collapsed.
Click to expand it.
modules/Install/models/Utils.php
+
1
−
1
View file @
51130a02
...
...
@@ -126,7 +126,7 @@ class Install_Utils_Model {
function
getSystemPreInstallParameters
()
{
$preInstallConfig
=
array
();
// Name => array( System Value, Recommended value, supported or not(true/false) );
$preInstallConfig
[
'LBL_PHP_VERSION'
]
=
array
(
phpversion
(),
'5.
5
.0'
,
(
version_compare
(
phpversion
(),
'5.
5
.0'
,
'
<
='
)));
$preInstallConfig
[
'LBL_PHP_VERSION'
]
=
array
(
phpversion
(),
'5.
4
.0'
,
(
version_compare
(
phpversion
(),
'5.
4
.0'
,
'
>
='
)));
$preInstallConfig
[
'LBL_IMAP_SUPPORT'
]
=
array
(
function_exists
(
'imap_open'
),
true
,
(
function_exists
(
'imap_open'
)
==
true
));
$preInstallConfig
[
'LBL_ZLIB_SUPPORT'
]
=
array
(
function_exists
(
'gzinflate'
),
true
,
(
function_exists
(
'gzinflate'
)
==
true
));
if
(
$preInstallConfig
[
'LBL_PHP_VERSION'
]
>=
'5.5.0'
)
{
...
...
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