Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
26b384f6
Commit
26b384f6
authored
Aug 14, 2020
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分站上传图片 判断路径中是否有'?'存在
parent
f906b9c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rent_model.php
new_admincp/applications/zsb/models/rent_model.php
+1
-1
No files found.
new_admincp/applications/zsb/models/rent_model.php
View file @
26b384f6
...
...
@@ -88,7 +88,7 @@ class Rent_model extends Rent_base_model {
}
$token
=
explode
(
"="
,
$v
);
$pid
=
intval
(
$token
[
1
]);
$filename
=
substr
(
$v
,
0
,
strpos
(
$v
,
'?'
))
;
$filename
=
(
strpos
(
$v
,
'?'
)
===
true
)
?
substr
(
$v
,
0
,
strpos
(
$v
,
'?'
))
:
$v
;
$idkind
=
substr
(
$token
[
0
],
-
3
);
$title
=
$pics
[
'p_title'
][
$k
]
==
'图片描述..限30字'
?
''
:
strip_tags
(
$pics
[
'p_title'
][
$k
]);
$sort
=
$pics
[
'p_sort'
][
$k
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment