ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 30,291
- Points
- 823
Reputation:
Defining the following two routes:
#1
#2
Will both write to
Suggested solution:
In
PHP:
Replace with:
Code:
This will cause #1 to...
Read more
Continue reading...
#1
#2
Will both write to
api_dbtech-ecommerce_categories_.json.Suggested solution:
In
/src/XF/DevelopmentOutput/Route.php find:PHP:
$subNameFile = preg_replace('#[^a-z0-9_-]#i', '-', $subName);Replace with:
Code:
Code:
$subNameFile = preg_replace('#/$#i', '_', $subName);
$subNameFile = preg_replace('#[^a-z0-9_-]#i', '-', $subNameFile);
This will cause #1 to...
Read more
Continue reading...