Update config.php
This commit is contained in:
parent
b156949ac8
commit
5b2a537f8a
|
@ -47,4 +47,11 @@ 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");
|
||||
}
|
||||
}
|
||||
|
||||
$config = read_config();
|
||||
|
|
Loading…
Reference in New Issue
Block a user