commit | 66cb413bc614bfe50d02059347a0ad0351a014c2 | [log] [tgz] |
---|---|---|
author | vlakoff <vlakoff@gmail.com> | Mon Dec 03 10:43:44 2012 +0100 |
committer | vlakoff <vlakoff@gmail.com> | Mon Dec 03 10:43:44 2012 +0100 |
tree | 564b96816bfbc439691478734cee687e83a78dbc | |
parent | e1d6c46b7d5e3d82dc6953af29f0b02ccb03e2dc [diff] |
config->site_url() optimizations - direct access to config array, instead of item() calls - the string cast is just in case 'url_suffix' would be set to false or null; the function produces the same results without this cast, but it leads to a robuster code, as false and null are sanitized and skip the suffix insertion code - altered conditional structure: if no suffix, skip the appending of an empty string to $uri