Skip to content
Snippets Groups Projects
Commit 529a58cc authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Add advice into info help

parent 7cb88096
Branches
Tags
No related merge requests found
...@@ -154,7 +154,8 @@ $var=!$var; ...@@ -154,7 +154,8 @@ $var=!$var;
print '<tr '.$bc[$var].'><td width="300">&nbsp; => price(1234.56)</td><td>'.price(1234.56).'</td></tr>'."\n"; print '<tr '.$bc[$var].'><td width="300">&nbsp; => price(1234.56)</td><td>'.price(1234.56).'</td></tr>'."\n";
// Timezone // Timezone
$txt =$langs->trans("OSTZ").' (variable system TZ): '.(! empty($_ENV["TZ"])?$_ENV["TZ"]:$langs->trans("NotDefined")).'<br>'."\n"; $txt =$langs->trans("OSTZ").' (variable system TZ): '.(! empty($_ENV["TZ"])?$_ENV["TZ"]:$langs->trans("NotDefined")).'<br>'."\n";
$txt.=$langs->trans("PHPTZ").' (php.ini date.timezone): '.(ini_get("date.timezone")?ini_get("date.timezone"):$langs->trans("NotDefined")).''."\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php $txt.=$langs->trans("PHPTZ").' (php.ini date.timezone): '.(ini_get("date.timezone")?ini_get("date.timezone"):$langs->trans("NotDefined")).''."<br>\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php
$txt.=$langs->trans("YouCanEditPHPTZ");
$var=!$var; $var=!$var;
print '<tr '.$bc[$var].'><td width="300">'.$langs->trans("CurrentTimeZone").'</td><td>'; // Timezone server PHP print '<tr '.$bc[$var].'><td width="300">'.$langs->trans("CurrentTimeZone").'</td><td>'; // Timezone server PHP
$a=getServerTimeZoneInt('now'); $a=getServerTimeZoneInt('now');
......
...@@ -119,6 +119,7 @@ CurrentHour=PHP Time (server) ...@@ -119,6 +119,7 @@ CurrentHour=PHP Time (server)
CompanyTZ=Company Time Zone (main company) CompanyTZ=Company Time Zone (main company)
CompanyHour=Company Time (main company) CompanyHour=Company Time (main company)
CurrentSessionTimeOut=Current session timeout CurrentSessionTimeOut=Current session timeout
YouCanEditPHPTZ=To set a different PHP timezone (not required), you can try to add a file .htacces with a line like this "SetEnv TZ Europe/Paris"
OSEnv=OS Environment OSEnv=OS Environment
Box=Box Box=Box
Boxes=Boxes Boxes=Boxes
......
...@@ -120,6 +120,7 @@ CurrentHour=Heure PHP (serveur) ...@@ -120,6 +120,7 @@ CurrentHour=Heure PHP (serveur)
CompanyTZ=Fuseau horaire société (maison mère) CompanyTZ=Fuseau horaire société (maison mère)
CompanyHour=Heure société (maison mère) CompanyHour=Heure société (maison mère)
CurrentSessionTimeOut=Délai expiration session actuelle CurrentSessionTimeOut=Délai expiration session actuelle
YouCanEditPHPTZ=Pour définir un autre timezone PHP (non obligatoire), vous pouvez essayer d'ajouter un fichier .htaccess avec une ligne du type "SetEnv TZ Europe/Paris"
OSEnv=Environnement OS OSEnv=Environnement OS
Box=Boîte Box=Boîte
Boxes=Boîtes Boxes=Boîtes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment