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
Code80
vtigercrm
Commits
b7d70aa7
Commit
b7d70aa7
authored
9 years ago
by
tim.niklas
Browse files
Options
Downloads
Patches
Plain Diff
changed functions to be static due to static calls only
parent
e4ee3731
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Install/models/Utils.php
+3
-3
3 additions, 3 deletions
modules/Install/models/Utils.php
with
3 additions
and
3 deletions
modules/Install/models/Utils.php
+
3
−
3
View file @
b7d70aa7
...
...
@@ -109,7 +109,7 @@ class Install_Utils_Model {
* Returns the recommended php settings for vtigerCRM
* @return type
*/
function
getRecommendedDirectives
(){
public
static
function
getRecommendedDirectives
(){
if
(
version_compare
(
PHP_VERSION
,
'5.5.0'
)
>=
0
){
self
::
$recommendedDirectives
[
'error_reporting'
]
=
'E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT'
;
}
...
...
@@ -123,7 +123,7 @@ class Install_Utils_Model {
* Function checks for vtigerCRM installation prerequisites
* @return <Array>
*/
function
getSystemPreInstallParameters
()
{
public
static
function
getSystemPreInstallParameters
()
{
$preInstallConfig
=
array
();
// Name => array( System Value, Recommended value, supported or not(true/false) );
$preInstallConfig
[
'LBL_PHP_VERSION'
]
=
array
(
phpversion
(),
'5.4.0'
,
(
version_compare
(
phpversion
(),
'5.4.0'
,
'>='
)));
...
...
@@ -152,7 +152,7 @@ class Install_Utils_Model {
* Function that provides default configuration based on installer setup
* @return <Array>
*/
function
getDefaultPreInstallParameters
()
{
public
static
function
getDefaultPreInstallParameters
()
{
include
'config.db.php'
;
$parameters
=
array
(
...
...
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