diff options
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/it_url.class b/it_url.class index 2cebc62..d63e332 100644 --- a/it_url.class +++ b/it_url.class @@ -95,9 +95,6 @@ function it_url($url = null, $options = array()) $this->hostname = preg_replace('/^www\./', '', $this->realhostname); - # Get rid of common index file names - $url = preg_replace('#(^|/)(index\.[ps]?html?|index\.php[34]?|default\.aspx?)$#', '', $url); - $this->path = preg_replace('#^/$#', '', $url); if ($this->port != $protoport) |