#2273 Show warning in dashboard if PHP version < 7.4

This commit is contained in:
Kijin Sung 2024-01-21 23:08:54 +09:00
parent fecc9c9ffe
commit 3c1e90b5f7
3 changed files with 5 additions and 5 deletions

View file

@ -425,8 +425,8 @@ $lang->module_exists_in_wrong_path = 'Module(s) installed in incorrect path';
$lang->about_module_exists_in_wrong_path = 'The following module(s) appear to be installed in incorrect directories.<br />Please ignore this message if you have intentionally renamed a module for testing or debugging purposes.';
$lang->apcu_clear_cache_function_not_found = 'apcu is disabled on this server.';
$lang->opcache_reset_function_not_found = 'opcache is disabled on this server.';
$lang->unsupported_php_version_notice = 'The minimum PHP version for using Rhymix will change in 2023. Please upgrade your PHP version, and check if all the modules and widgets you added are compatible with the new version.';
$lang->unsupported_php_version_required = 'Requirement: minimum PHP 7.2 or higher, recommended PHP 7.4 or higher';
$lang->unsupported_php_version_notice = 'The minimum PHP version for using Rhymix will change in late 2024. Please upgrade your PHP version, and check if all the modules and widgets you added are compatible with the new version.';
$lang->unsupported_php_version_required = 'Requirement: PHP 7.4 or higher';
$lang->unsupported_php_version_current = 'Your version: PHP %s';
$lang->admin_cleanup_unnecessary_core_files = 'Clean up unnecessary core files';
$lang->about_cleanup_unnecessary_core_files = 'Your site map contain unnecessary files from older versions of Rhymix or XE.<br>This feature will help you clean them up.<br>All of the following files and directories are safe to delete if you have updated to the current version in the normal way.';

View file

@ -421,8 +421,8 @@ $lang->module_exists_in_wrong_path = '잘못된 경로에 설치된 모듈이
$lang->about_module_exists_in_wrong_path = '아래의 모듈이 잘못된 경로에 설치된 것으로 보입니다. 설치 경로를 다시 확인하시기 바랍니다.<br />테스트나 오류 수정을 위해 임시로 모듈을 다른 경로에 옮겨놓으신 경우 이 메시지는 무시하셔도 됩니다.';
$lang->apcu_clear_cache_function_not_found = 'apcu를 사용하지 않는 서버입니다.';
$lang->opcache_reset_function_not_found = 'opcache를 사용하지 않는 서버입니다.';
$lang->unsupported_php_version_notice = '2023년부터 라이믹스가 지원하는 PHP 버전이 변경됩니다. PHP 버전을 업그레이드하시고, 추가로 설치하신 모듈과 위젯 등이 새로운 PHP 버전에서 정상 작동하는지 미리 확인하시기 바랍니다.';
$lang->unsupported_php_version_required = '필요한 버전: 최소 PHP 7.2 이상, 권장 PHP 7.4 이상';
$lang->unsupported_php_version_notice = '2024년부터 하반기부터 라이믹스가 지원하는 PHP 버전이 변경됩니다. PHP 버전을 업그레이드하시고, 추가로 설치하신 모듈과 위젯 등이 새로운 PHP 버전에서 정상 작동하는지 미리 확인하시기 바랍니다.';
$lang->unsupported_php_version_required = '필요한 버전: PHP 7.4 이상';
$lang->unsupported_php_version_current = '사용중인 버전: PHP %s';
$lang->admin_cleanup_unnecessary_core_files = '불필요한 코어 파일 삭제';
$lang->about_cleanup_unnecessary_core_files = '오래된 버전의 라이믹스나 XE에서 업그레이드한 경우 더이상 코어에서 사용하지 않는 파일이 남아 있거나 파일명이 변경되었을 수 있습니다.<br>이 기능을 사용하면 불필요한 코어 파일을 일괄 삭제할 수 있습니다.<br>정상적인 방법으로 코어를 업그레이드하셨다면 아래의 파일과 디렉토리들은 모두 삭제해도 무방합니다.';

View file

@ -22,7 +22,7 @@
</div>
<!--// Warning about the minimum PHP version -->
<div class="message error" cond="version_compare(PHP_VERSION, '7.2', '<')">
<div class="message error" cond="version_compare(PHP_VERSION, '7.4', '<')">
<p>{$lang->unsupported_php_version_notice}</p>
<ul>
<li>{$lang->unsupported_php_version_required}</li>