mirror of https://github.com/1099438829/apeblog
修正友链大小写
This commit is contained in:
parent
c7255a9efe
commit
fa4eeff90d
|
|
@ -70,7 +70,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('#tb_departments').bootstrapTable({
|
$('#tb_departments').bootstrapTable({
|
||||||
classes: 'table table-bordered table-hover table-striped',
|
classes: 'table table-bordered table-hover table-striped',
|
||||||
url: '/admin/friendlink/Lst',
|
url: '/admin/friendl_ink/lst',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
dataType: 'json', // 因为本示例中是跨域的调用,所以涉及到ajax都采用jsonp,
|
dataType: 'json', // 因为本示例中是跨域的调用,所以涉及到ajax都采用jsonp,
|
||||||
uniqueId: 'id',
|
uniqueId: 'id',
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ if (!function_exists('file_cdn')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$path = str_replace(public_path(), '', $path);
|
$path = str_replace(public_path(), '', $path);
|
||||||
|
|
||||||
//转换因为win导致的兼容问题
|
//转换因为win导致的兼容问题
|
||||||
if(strtoupper(substr(PHP_OS,0,3))==='WIN'){
|
if(strtoupper(substr(PHP_OS,0,3))==='WIN'){
|
||||||
$path = str_replace( DIRECTORY_SEPARATOR, '/',$path);
|
$path = str_replace( DIRECTORY_SEPARATOR, '/',$path);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue