Skip to content

Commit

Permalink
ticket #1475 - updated the checker for PHP 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentj committed Jul 18, 2012
1 parent 5fe530f commit ddb814b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/jelix/installer/jInstallChecker.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function checkPhpSettings(){
}

if(ini_get('safe_mode') == 1){
$this->warning('safe_mode');
$this->error('ini.safe_mode');
$ok=false;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/jelix/installer/messageProvider.en.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
'ini.magic_quotes_gpc' =>'php.ini: magic quotes are not supported by Jelix. You must deactivate it into PHP',
'ini.magic_quotes_runtime'=>'php.ini: magic_quotes_runtime must be off',
'ini.session.auto_start'=>'php.ini: session.auto_start must be off',
'ini.safe_mode' =>'php.ini: safe_mode is not recommended.',
'ini.safe_mode' =>'php.ini: safe_mode is deprecated and is not recommended.',
'ini.register_globals' =>'php.ini: you must deactivate register_globals, for security reasons, and because this option is not needed.',
'ini.asp_tags' =>'php.ini: you should deactivate asp_tags. No need to have this option.',
'ini.short_open_tag' =>'php.ini: you should deactivate short_open_tag. No need to have this option.',
Expand Down
2 changes: 1 addition & 1 deletion lib/jelix/installer/messageProvider.fr.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
'ini.magic_quotes_gpc' =>'php.ini : l\'activation des magic quotes n\'est pas prise en charge par jelix. Vous devez les désactiver',
'ini.magic_quotes_runtime'=>'php.ini : magic_quotes_runtime doit être à off',
'ini.session.auto_start'=>'php.ini : session.auto_start doit être à off',
'ini.safe_mode' =>'php.ini : le safe_mode n\'est pas recommandé.',
'ini.safe_mode' =>'php.ini : le safe_mode est obsolète et n\'est pas recommandé.',
'ini.register_globals' =>'php.ini : il faut désactiver register_globals, pour des raisons de sécurité et parce que cette option n\'est pas nécessaire.',
'ini.asp_tags' =>'php.ini : il est conseillé de désactiver asp_tags. Cette option n\'est pas nécessaire.',
'ini.short_open_tag' =>'php.ini : il est conseillé de désactiver short_open_tag. Cette option n\'est pas nécessaire.',
Expand Down

0 comments on commit ddb814b

Please sign in to comment.