Update config.php
This commit is contained in:
parent
4b3f0d0cc6
commit
62657a3984
|
@ -54,7 +54,7 @@ if(!function_exists("get_config_value")) {
|
|||
if(!function_exists("get_current_datetime")) {
|
||||
function get_current_datetime() {
|
||||
$config = get_config();
|
||||
return get_value_in_array("timeformat", $config, "Y-m-d H:i:s");
|
||||
return date(get_value_in_array("timeformat", $config, "Y-m-d H:i:s"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user