Changeset 703 for trunk/includes/global.php
- Timestamp:
- Jan 4, 2014, 1:14:24 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r691 r703 638 638 $Result = ''; 639 639 $I = 0; 640 while(strpos($Content, 'http://') !== false) 641 { 642 $I = strpos($Content, 'http://'); 640 while((strpos($Content, 'http://') !== false) or (strpos($Content, 'https://') !== false)) 641 { 642 if(strpos($Content, 'http://') !== false) $I = strpos($Content, 'http://'); 643 if(strpos($Content, 'https://') !== false) $I = strpos($Content, 'https://'); 643 644 $Result .= substr($Content, 0, $I); 644 645 $Content = substr($Content, $I);
Note:
See TracChangeset
for help on using the changeset viewer.