hjg
2024-10-30 8cf23534166c07e711aac2a25911ada317ba01f0
提交 | 用户 | 时间
58d006 1 var basedir='';
A 2
3 function getpath(path)
4 {
5     if(path==null)
6         return basedir;
7     if(path.length<=0)
8         return basedir;
9     if(path[0]==='/')
10         return basedir+path;
11     else
12         return basedir+'/'+path;
13 }