安装插件后的基础文件
This commit is contained in:
16
plugin/easyflow/function.php
Normal file
16
plugin/easyflow/function.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Easyflow插件公共函数库
|
||||
*/
|
||||
|
||||
if (!function_exists('format_time')) {
|
||||
/*
|
||||
* 格式化时间戳
|
||||
*/
|
||||
function format_time()
|
||||
{
|
||||
return date('Y-m-d H:i:s', time());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user