Merge pull request #11996 from frederic34/phpcalendar
check php-calendar extension
This commit is contained in:
commit
c7fa4c91ce
@ -147,6 +147,16 @@ else
|
||||
print '<img src="../theme/eldy/img/tick.png" alt="Ok"> '.$langs->trans("PHPSupportCurl")."<br>\n";
|
||||
}
|
||||
|
||||
// Check if PHP calendar extension is available
|
||||
if (! function_exists("easter_date"))
|
||||
{
|
||||
print '<img src="../theme/eldy/img/warning.png" alt="Error"> '.$langs->trans("ErrorPHPDoesNotSupportCalendar")."<br>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<img src="../theme/eldy/img/tick.png" alt="Ok"> '.$langs->trans("PHPSupportCalendar")."<br>\n";
|
||||
}
|
||||
|
||||
|
||||
// Check if UTF8 supported
|
||||
if (! function_exists("utf8_encode"))
|
||||
|
||||
@ -13,6 +13,7 @@ PHPSupportPOSTGETOk=This PHP supports variables POST and GET.
|
||||
PHPSupportPOSTGETKo=It's possible your PHP setup does not support variables POST and/or GET. Check the parameter <b>variables_order</b> in php.ini.
|
||||
PHPSupportGD=This PHP supports GD graphical functions.
|
||||
PHPSupportCurl=This PHP supports Curl.
|
||||
PHPSupportCalendar=This PHP supports calendars extensions.
|
||||
PHPSupportUTF8=This PHP supports UTF8 functions.
|
||||
PHPSupportIntl=This PHP supports Intl functions.
|
||||
PHPMemoryOK=Your PHP max session memory is set to <b>%s</b>. This should be enough.
|
||||
@ -21,6 +22,7 @@ Recheck=Click here for a more detailed test
|
||||
ErrorPHPDoesNotSupportSessions=Your PHP installation does not support sessions. This feature is required to allow Dolibarr to work. Check your PHP setup and permissions of the sessions directory.
|
||||
ErrorPHPDoesNotSupportGD=Your PHP installation does not support GD graphical functions. No graphs will be available.
|
||||
ErrorPHPDoesNotSupportCurl=Your PHP installation does not support Curl.
|
||||
ErrorPHPDoesNotSupportCalendar=Your PHP installation does not support php calendar extensions.
|
||||
ErrorPHPDoesNotSupportUTF8=Your PHP installation does not support UTF8 functions. Dolibarr cannot work correctly. Resolve this before installing Dolibarr.
|
||||
ErrorPHPDoesNotSupportIntl=Your PHP installation does not support Intl functions.
|
||||
ErrorDirDoesNotExists=Directory %s does not exist.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user