---- around line 123 ---- 121: } else { 122: header("HTTP/1.1 301 Moved Permanently"); 123: header("Location: $cachedUrl"); 124: exit(); 125: } ---- around line 309 ---- 307: writeToCache($key, $result); 308: header("HTTP/1.1 301 Moved Permanently"); 309: header("Location: $result"); 310: exit(); 311: } ---- around line 372 ---- 370: 371: header("HTTP/1.1 301 Moved Permanently"); 372: header("Location: $cachedUrl"); 373: exit(); 374: } ---- around line 544 ---- 542: writeToCache($key, $result); 543: header("HTTP/1.1 301 Moved Permanently"); 544: header("Location: $result"); 545: exit(); 546: } ---- around line 582 ---- 580: } 581: 582: function spandamanAdultPlaybackProxyUrl($mediaUrl, $referer = '') { 583: $mediaUrl = trim((string)$mediaUrl); 584: $mediaUrl = str_replace('\\/', '/', $mediaUrl); ---- around line 643 ---- 641: } else { 642: 643: $cachedUrl = spandamanAdultPlaybackProxyUrl($cachedUrl); 644: header("HTTP/1.1 301 Moved Permanently"); 645: header("Location: $cachedUrl"); ---- around line 645 ---- 643: $cachedUrl = spandamanAdultPlaybackProxyUrl($cachedUrl); 644: header("HTTP/1.1 301 Moved Permanently"); 645: header("Location: $cachedUrl"); 646: exit(); 647: } ---- around line 727 ---- 725: exit; 726: } else { 727: $redirectUrl = spandamanAdultPlaybackProxyUrl($source, $source); 728: writeToCache($key, $redirectUrl); 729: header("HTTP/1.1 301 Moved Permanently"); ---- around line 730 ---- 728: writeToCache($key, $redirectUrl); 729: header("HTTP/1.1 301 Moved Permanently"); 730: header("Location: $redirectUrl"); 731: exit; 732: } ---- around line 743 ---- 741: exit; 742: } else { 743: $redirectUrl = spandamanAdultPlaybackProxyUrl($extractReturn, $source); 744: writeToCache($key, $redirectUrl); 745: header("HTTP/1.1 301 Moved Permanently"); ---- around line 746 ---- 744: writeToCache($key, $redirectUrl); 745: header("HTTP/1.1 301 Moved Permanently"); 746: header("Location: $redirectUrl"); 747: exit; 748: } ---- around line 784 ---- 782: exit; 783: } else { 784: $redirectUrl = spandamanAdultPlaybackProxyUrl($extractReturn, $embedUrl); 785: writeToCache($key, $redirectUrl); 786: header("HTTP/1.1 301 Moved Permanently"); ---- around line 787 ---- 785: writeToCache($key, $redirectUrl); 786: header("HTTP/1.1 301 Moved Permanently"); 787: header("Location: $redirectUrl"); 788: exit; 789: } ---- around line 2583 ---- 2581: } 2582: 2583: if (strpos((string)$key, '_adult_url') !== false && function_exists('spandamanAdultPlaybackProxyUrl')) { 2584: $runningUrl = spandamanAdultPlaybackProxyUrl($runningUrl); 2585: } ---- around line 2584 ---- 2582: 2583: if (strpos((string)$key, '_adult_url') !== false && function_exists('spandamanAdultPlaybackProxyUrl')) { 2584: $runningUrl = spandamanAdultPlaybackProxyUrl($runningUrl); 2585: } 2586: ---- around line 2588 ---- 2586: 2587: header("HTTP/1.1 301 Moved Permanently"); 2588: header("Location: $runningUrl"); 2589: exit(); 2590: } ---- around line 9903 ---- 9901: global $expirationDuration; 9902: 9903: if (strpos((string)$key, '_adult_url') !== false && function_exists('spandamanAdultPlaybackProxyUrl')) { 9904: $value = spandamanAdultPlaybackProxyUrl($value); 9905: } ---- around line 9904 ---- 9902: 9903: if (strpos((string)$key, '_adult_url') !== false && function_exists('spandamanAdultPlaybackProxyUrl')) { 9904: $value = spandamanAdultPlaybackProxyUrl($value); 9905: } 9906: