Dotclear


Ignore:
Timestamp:
07/25/13 09:59:44 (12 years ago)
Author:
Franck Paul <carnet.franck.paul@…>
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.
Message:

Merged in akewea/dotclear/ticket#1404 (pull request #28) : fixes #1404

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r1179 r1228  
    22672267           
    22682268          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)) { 
    22702270                    $cur->comment_site = 'http://'.$cur->comment_site; 
     2271               }else{ 
     2272                    $cur->comment_site = strtolower($matches[0]).substr($cur->comment_site, strlen($matches[0])); 
    22712273               } 
    22722274          } 
  • inc/core/class.dc.blog.php

    r1227 r1228  
    44# This file is part of Dotclear 2. 
    55# 
    6 # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear 
     6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
Note: See TracChangeset for help on using the changeset viewer.

Sites map