Welcome Guest, Not a member yet? Register   Sign In
Nasty little bug - easy fix
#1

File: system/core/Config.php Line: 269

- $uri .= $suffix;
+ if (trim($uri) !== '') $uri .= $suffix;

If $config['url_suffix'] is set to a value like $config['url_suffix'] = '.html' the home link will be generated as
http://www.mydomain.com/.html

The fix obove is solving the problem, however I hate to change the code in core, forcing me to keep track and check on the next release.
Reply


Messages In This Thread
Nasty little bug - easy fix - by Nicolaus.Sommer - 11-07-2015, 05:49 AM
RE: Nasty little bug - easy fix - by Martin7483 - 11-07-2015, 08:41 AM
RE: Nasty little bug - easy fix - by Martin7483 - 11-07-2015, 10:41 AM
RE: Nasty little bug - easy fix - by Martin7483 - 11-07-2015, 11:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB