diff options
author | vlakoff <vlakoff@gmail.com> | 2014-04-01 01:21:51 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2014-04-01 01:22:32 +0200 |
commit | b208f6502917b42a07b4bb7e5ffe2ef4b1359267 (patch) | |
tree | 6fa586bdccabc4ada2baa4c3c53cea11ec2f090c /readme.rst | |
parent | 8bec33f37bd0e4542d5f963a446283c10a2b2ffe (diff) |
Yet another method for determining "base_url"
This one is great because we don't have to deal with the special cases:
* in Windows, dirname('/foo/index.php') gives "/foo", but dirname('/index.php') gives "\" instead of "/"
* dirname() doesn't include the trailing slash, with the expection of "/" (root)
props @narfbg
Diffstat (limited to 'readme.rst')
0 files changed, 0 insertions, 0 deletions