Update config.php

This commit is contained in:
Namhyeon Go 2019-10-16 22:29:33 +09:00 committed by GitHub
parent 60ca514d5a
commit 8198038055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ if(!check_function_exists("read_config")) {
foreach($files as $file) { foreach($files as $file) {
$ini = array(); $ini = array();
// `parse_ini_string` function is not supported under 5.3.0. if you use legacy, please use `.ini` file only. // `parse_ini_string` function is not supported under 5.3.0. Use only 'ini' file
if(!$is_legacy_version && check_file_extension($file, "ini.php", array("multiple" => true))) { if(!$is_legacy_version && check_file_extension($file, "ini.php", array("multiple" => true))) {
$ini = parse_ini_string($str); $ini = parse_ini_string($str);
} elseif(check_file_extension($file, "ini")) { } elseif(check_file_extension($file, "ini")) {
@ -104,7 +104,7 @@ if(!check_function_exists("get_current_datetime")) {
} }
// get timestamp // get timestamp
$timestamp = get_current_timestamp($options);' $timestamp = get_current_timestamp($options);
// set datetime // set datetime
$datetime = date($timeformat, $timestamp); $datetime = date($timeformat, $timestamp);