Ignore:
Timestamp:
Jan 4, 2014, 1:14:24 AM (11 years ago)
Author:
chronos
Message:
  • Fixed: Link to wowpatcher in download page.
  • Modified: Also make active links with https protocol.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/global.php

    r691 r703  
    638638  $Result = ''; 
    639639  $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://');
    643644    $Result .= substr($Content, 0, $I);
    644645    $Content = substr($Content, $I);
Note: See TracChangeset for help on using the changeset viewer.