开始官网模板

This commit is contained in:
augushong
2020-04-19 13:18:57 +08:00
parent 1ec8c07250
commit 9910dd3e6d
42 changed files with 1435 additions and 219 deletions

View File

@@ -54,6 +54,10 @@ function get_system_config($name = '', $default = '')
function get_source_link($url)
{
if(empty($url)){
$url = '/static/images/avatar.jpeg';
}
if (strpos($url, '/') === 0) {
return $url;
}