diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-05-02 13:39:23 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-05-02 13:39:23 +0200 |
commit | 2c25fd0fb075090257e69440c94ef6fddd6f02f2 (patch) | |
tree | a594ba408620e20895c85ab4c10851c79ef7c7a7 /system/helpers/url_helper.php | |
parent | bbc5ec2a660c960873f7c41437859fa1d82703d6 (diff) |
return preg_replace("|^/*(.+?)/*$|", "\\1", $str);
to
return trim($str, '/');
Diffstat (limited to 'system/helpers/url_helper.php')
0 files changed, 0 insertions, 0 deletions