Fix #1574 misleading message about error log path

This commit is contained in:
Kijin Sung 2021-01-24 10:56:21 +09:00
parent 1f054af288
commit efcf6b1dfe
3 changed files with 7 additions and 5 deletions

View file

@ -236,8 +236,9 @@ $lang->debug_write_error_log_all = 'All errors and warnings';
$lang->debug_write_error_log_fatal = 'Fatal errors only';
$lang->debug_write_error_log_none = 'None';
$lang->about_debug_log_filename = 'YYYYMMDD in the filename will be replaced with the current date.<br>It is recommended to split the log file by date to prevent it from getting too large.';
$lang->about_debug_write_error_log = 'Select how much information will be recorded in the PHP error log.<br>Error logs are recorded even if debugging is disabled in Rhymix.';
$lang->about_debug_error_log_path = 'The PHP error log is currently located at: %s';
$lang->about_debug_write_error_log = 'Select how much information will be recorded in the PHP error log.<br>Error logs may be recorded even if debugging is disabled in Rhymix.';
$lang->about_debug_error_log_path = 'The error log location that is currently configured in php.ini is %s';
$lang->about_debug_error_log_path_empty = '(none)';
$lang->about_debug_query_comment = 'Add a comment containing the query name and IP address to every SQL statement. This may help you determine where slow queries are coming from.';
$lang->msg_debug_log_filename_not_writable = 'Rhymix cannot write log files in the specified path.';
$lang->debug_allowed_ip = 'Allowed IP addresses';

View file

@ -232,8 +232,9 @@ $lang->debug_write_error_log_all = '모든 에러와 경고를 기록';
$lang->debug_write_error_log_fatal = '치명적인 에러만 기록';
$lang->debug_write_error_log_none = '기록하지 않음';
$lang->about_debug_log_filename = '파일명에 YYYYMMDD가 포함된 경우 날짜별로 파일을 분리하여 기록합니다.<br>파일을 분리하지 않으면 용량이 매우 커질 수 있으니 주의하십시오.';
$lang->about_debug_write_error_log = 'PHP 에러 로그에 얼마나 많은 정보를 기록할지 선택할 수 있습니다.<br>오래된 서드파티 자료를 사용하시는 경우 경고(E_WARNING)가 많이 발생할 수 있으니 이 설정을 적절히 조정하십시오.<br>디버그 기능을 사용하지 않더라도 에러 로그는 항상 기록됩니다.';
$lang->about_debug_error_log_path = '현재 설정된 PHP 에러 로그 경로는 %s 입니다.';
$lang->about_debug_write_error_log = 'PHP 에러 로그에 얼마나 많은 정보를 기록할지 선택할 수 있습니다.<br>오래된 서드파티 자료를 사용하시는 경우 경고(E_WARNING)가 많이 발생할 수 있으니 이 설정을 적절히 조정하십시오.<br>디버그 기능을 사용하지 않더라도 php.ini 설정에 따라 에러 로그가 기록될 수 있습니다.';
$lang->about_debug_error_log_path = '현재 php.ini에서 설정된 에러 로그 경로는 %s 입니다.';
$lang->about_debug_error_log_path_empty = '(없음)';
$lang->about_debug_query_comment = '쿼리명과 IP 주소를 포함하는 주석을 모든 쿼리에 추가하여, 부하를 유발하는 쿼리 및 방문자를 DB에서 쉽게 파악할 수 있도록 합니다.';
$lang->msg_debug_log_filename_not_writable = '지정한 경로에 로그 파일을 작성할 수 없습니다.';
$lang->debug_allowed_ip = '디버그 허용 IP';

View file

@ -102,7 +102,7 @@
<label for="debug_write_error_log_fatal" class="x_inline"><input type="radio" name="debug_write_error_log" id="debug_write_error_log_fatal" value="fatal" checked="checked"|cond="$debug_write_error_log=='fatal' || !$debug_write_error_log" /> {$lang->debug_write_error_log_fatal}</label>
<label for="debug_write_error_log_none" class="x_inline"><input type="radio" name="debug_write_error_log" id="debug_write_error_log_none" value="none" checked="checked"|cond="$debug_write_error_log=='none'" /> {$lang->debug_write_error_log_none}</label>
<p class="x_help-block">{$lang->about_debug_write_error_log}</p>
<p class="x_help-block">{sprintf($lang->about_debug_error_log_path, escape(ini_get('error_log')))}</p>
<p class="x_help-block">{sprintf($lang->about_debug_error_log_path, escape(ini_get('error_log')) ?: $lang->about_debug_error_log_path_empty)}</p>
</div>
</div>
<div class="x_clearfix btnArea">