Changeset 1228:ead1a1502e66 for inc/core/class.dc.blog.php
- Timestamp:
- 07/25/13 09:59:44 (12 years ago)
- Branch:
- 2.5
- Parents:
- 1226:14c2f8ad8674 (diff), 1227:8fd3c2ccada5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r1179 r1228 2267 2267 2268 2268 if ($cur->comment_site !== null && $cur->comment_site != '') { 2269 if (!preg_match('|^http(s?)://| ',$cur->comment_site)) {2269 if (!preg_match('|^http(s?)://|i',$cur->comment_site, $matches)) { 2270 2270 $cur->comment_site = 'http://'.$cur->comment_site; 2271 }else{ 2272 $cur->comment_site = strtolower($matches[0]).substr($cur->comment_site, strlen($matches[0])); 2271 2273 } 2272 2274 } -
inc/core/class.dc.blog.php
r1227 r1228 4 4 # This file is part of Dotclear 2. 5 5 # 6 # Copyright (c) 2003-201 1Olivier Meunier & Association Dotclear6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or
Note: See TracChangeset
for help on using the changeset viewer.