mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 02:22:48 +08:00
开始官网模板
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user