Changeset 97828 in spip-zone


Ignore:
Timestamp:
May 17, 2016, 12:20:13 PM (3 years ago)
Author:
kent1@…
Message:

PSR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/xiti/trunk/xiti_fonctions.php

    r97759 r97828  
    5757function xiti_xtdmc($url) {
    5858        $url = str_replace(array('http://www','https://www', 'http://', 'https://'), array('','','',''), $url);
    59         $url = preg_replace('/\/.*/','',$url);
     59        $url = preg_replace('/\/.*/', '', $url);
    6060        return '.' . $url;
    6161}
Note: See TracChangeset for help on using the changeset viewer.