From 20e9442f4af7f6c71c2677f269cf78a1a8b03396 Mon Sep 17 00:00:00 2001 From: hakasenyang Date: Wed, 21 Sep 2016 03:49:03 +0900 Subject: [PATCH] Remove comments --- index.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/index.php b/index.php index 32f5b5f..e704b84 100644 --- a/index.php +++ b/index.php @@ -33,15 +33,8 @@ // adf.ly source by http://skizzerz.net/scripts/adfly.php case 'adf.ly': $data = $aa->WEBParsing($url); - if ( preg_match( "#var ysmm = '([a-zA-Z0-9+/=]+)'#", $data, $matches ) ) { + if ( preg_match( "#var ysmm = '([a-zA-Z0-9+/=]+)'#", $data, $matches ) ) $data = $final = $url = $aa->decode_adfly( $matches[1] ); - //echo $final; - /*$data = $aa->WEBParsing($url); - if ( preg_match_all( '/Location:\s*(.+)\s*$/im', $data, $matches, PREG_SET_ORDER ) ) { - $last = array_pop( $matches ); - $final = trim( $last[1] ); - }*/ - } break; case 'adfoc.us': $data = $aa->WEBParsing($url, NULL, NULL, array('Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'));