[Fixed] page url on windows systems

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

the page tag isnt picked up on some windows setups which use backslashes instead of forward slashes.

i ust made a hotfix for someone with 

rtrim(ltrim(str_replace(array(ROOTDIR,'\\'), '', $_SERVER['SCRIPT_FILENAME']), '/'), '.php');

this needs to be added in the next version ,or a different method to get the page name.


Director at No Half Pixels Ltd.

08/08/2014 00:07:21

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

Fixed in 1.6.0


Director at No Half Pixels Ltd.

03/09/2015 10:13:11