summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-09-24 00:29:12 +0800
committerEltrac Koalar <hi@guhub.cn>2022-09-24 00:29:12 +0800
commit594c94f0d2ca12c8be123eacac00b6582c030827 (patch)
tree946f8d364b441072159dd1a23fbc2f4534f87222 /libs
parentcf9a90f5fcd7e76b2be3abe066488cc6594f276b (diff)
:lollipop: Add: 懒加载图片占位符
Diffstat (limited to 'libs')
-rw-r--r--libs/Utils.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/Utils.php b/libs/Utils.php
index 36675db..de21484 100644
--- a/libs/Utils.php
+++ b/libs/Utils.php
@@ -32,6 +32,11 @@ class Utils
Helper::options()->themeUrl($path);
}
+ public static function indexThemeUrl($path = '')
+ {
+ return Helper::options()->themeUrl.'/'.$path;
+ }
+
/**
* 判断插件是否可用
*