Changeset 191690
- Timestamp:
- 01/08/2010 11:22:01 PM (16 years ago)
- File:
-
- 1 edited
-
lifestream/trunk/extensions/blog/extension.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lifestream/trunk/extensions/blog/extension.inc.php
r191686 r191690 20 20 if ($this->get_option('permalink_url')) $url = $this->get_option('permalink_url'); 21 21 else $url = $this->get_option('url'); 22 if (!preg_match('#^(http://)?([a-z0-9\-\.]*\.)?([a-z0-9\-]+\.[a-z0-9\-]+)/?#i', $url, $matches)) ;22 if (!preg_match('#^(http://)?([a-z0-9\-\.]*\.)?([a-z0-9\-]+\.[a-z0-9\-]+)/?#i', $url, $matches)) 23 23 return $url; 24 24 return $matches[3];
Note: See TracChangeset
for help on using the changeset viewer.