Changeset 1361 for trunk


Ignore:
Timestamp:
02/04/18 05:58:39 (19 months ago)
Author:
gogo
Message:

#1279 ereg to preg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/SuperClean/tidy.php

    r891 r1361  
    3434 
    3535//  Strip http:// from the URL if present 
    36     $URL = ereg_replace("^http://", "", $URL); 
     36    $URL = preg_replace("/^https?:\/\//i", "", $URL); 
    3737 
    3838//  Separate into Host and URI 
Note: See TracChangeset for help on using the changeset viewer.