Add admin screen to delete unnecessary core files from older versions

This commit is contained in:
Kijin Sung 2022-12-28 21:25:57 +09:00
parent e97f44826d
commit ba107a6abf
7 changed files with 488 additions and 3 deletions

View file

@ -411,3 +411,22 @@ $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_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.';
$lang->cmd_cleanup_filename = 'Filename to delete';
$lang->cmd_cleanup_filetype = 'Type';
$lang->cmd_cleanup_filetype_file = 'file';
$lang->cmd_cleanup_filetype_directory = 'directory';
$lang->cmd_cleanup_filetype_symlink = 'symbolic link';
$lang->cmd_cleanup_reason = 'Reason to delete';
$lang->cmd_cleanup_reason_deleted = 'Not used anymore';
$lang->cmd_cleanup_reason_deleted_xe = 'This %s was only used in XE';
$lang->cmd_cleanup_reason_deleted_xmllang = 'This is an XML lang file only used in XE';
$lang->cmd_cleanup_reason_moved = 'Moved';
$lang->cmd_cleanup_reason_case = 'Changed case';
$lang->cmd_cleanup_error_reason = 'Reason for failure';
$lang->msg_cleanup_list_empty = 'There is no file to clean up.';
$lang->msg_cleanup_manually = 'Some files and/or directories could not be cleaned up. Please check them and delete them manually.';
$lang->cmd_cleanup_error_permission = 'Permissions';
$lang->cmd_cleanup_error_symlink = 'Symbolic link';
$lang->cmd_cleanup_error_other = 'Other';

View file

@ -407,3 +407,22 @@ $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_current = '사용중인 버전: PHP %s';
$lang->admin_cleanup_unnecessary_core_files = '불필요한 코어 파일 삭제';
$lang->about_cleanup_unnecessary_core_files = '오래된 버전의 라이믹스나 XE에서 업그레이드한 경우 불필요한 파일이 남아 있거나 파일명이 변경되었을 수 있습니다.<br>이 기능을 사용하면 불필요한 코어 파일을 일괄 삭제할 수 있습니다.<br>정상적인 방법으로 코어를 업그레이드하셨다면 아래의 파일과 디렉토리들은 모두 삭제해도 무방합니다.';
$lang->cmd_cleanup_filename = '삭제할 파일명';
$lang->cmd_cleanup_filetype = '유형';
$lang->cmd_cleanup_filetype_file = '파일';
$lang->cmd_cleanup_filetype_directory = '디렉토리';
$lang->cmd_cleanup_filetype_symlink = '심볼릭 링크';
$lang->cmd_cleanup_reason = '삭제 이유';
$lang->cmd_cleanup_reason_deleted = '단순 삭제';
$lang->cmd_cleanup_reason_deleted_xe = 'XE에서 사용하던 %s';
$lang->cmd_cleanup_reason_deleted_xmllang = 'XE에서 사용하던 XML 언어 파일';
$lang->cmd_cleanup_reason_moved = '이동';
$lang->cmd_cleanup_reason_case = '대소문자 구분 변경';
$lang->cmd_cleanup_error_reason = '삭제 실패 이유';
$lang->msg_cleanup_list_empty = '삭제할 파일이 없습니다.';
$lang->msg_cleanup_manually = '일부 파일이나 디렉토리를 삭제할 수 없습니다. 서버에서 직접 삭제해 주시기 바랍니다.';
$lang->cmd_cleanup_error_permission = '퍼미션';
$lang->cmd_cleanup_error_symlink = '심볼릭 링크';
$lang->cmd_cleanup_error_other = '기타';