Anastasia
/
books
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
b35287c6513f59206ba27a3b98dbd488e2e0f900
Authored by
alex
2018-08-10 15:22:05 +0300
1 parent
f2f3817f
hotfix1
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/components/UrlManager.php
Inline
Side-by-side
frontend/components/UrlManager.php
Wrap text
Show/Hide comments
View file @
b35287c
...
...
@@ -74,7 +74,7 @@
74
74
$request = $this->parseLanguage($request);
75
75
$path=$request->pathInfo;
76
76
77
- if
($path[strlen($path)-1]==
'/'
77
+ if
(strlen($path) && $path[strlen($path) - 1] ==
'/'
78
78
# && $path[strlen($path)-2]=='/'
79
79
)
80
80
{
...
...