Capitan Cloud 3 éve
szülő
commit
c31086d67d
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      surf.php

+ 3 - 3
surf.php

@@ -57,7 +57,7 @@ if (!$file) {
 }
 $w = "";
 while (!feof($file)) {
-  $w .= fgets($file, 10000);
+  $w .= fgets($file, 20000);
 }
 fclose($file);
 
@@ -82,7 +82,7 @@ $head = preg_replace('/href="(.{6}(?<!http:\/)(?<!https:)(?<!ftp:\/\/).+)"/iU',
 //$body = preg_replace("/<body .+>/iU", "$0\n<form id='LIGHTOFFfrmUpload' role='form' method='get' action='/surf2.php' target='_self' enctype='multipart/form-data'>\n<div id='LIGHTOFFcontent'><div id='LIGHTOFFheader-surf'><br>&nbsp;&nbsp;<span style='font-weight:900;'>LIGHTOFF</span><br></div>", $body);
 
 //$body = str_ireplace("</body>", "<input type='url' id='LIGHTOFFurl' name='LIGHTOFFurl' value='https://5mode.com' style='display: none;'>&nbsp;<input id='LIGHTOFFSubmit' name='LIGHTOFFSubmit' type='submit' style='display: none;'><br>\n\n</div>\n\n</form>\n\n<script src='http://lightoff.doggy/js/surf.js' type='text/javascript'></script>\n\n</body>", $body); 
-$body = str_ireplace("</body>", "\n\n<script src='http://lightoff.doggy/js/surf.js' type='text/javascript'></script>\n\n</body>", $body); 
+$body = str_ireplace("</body>", "\n\n<script src='".APP_HOST."/js/surf.js' type='text/javascript'></script>\n\n</body>", $body); 
 
 $body = str_ireplace('src="//', 'src="https://', $body);
 $body = str_ireplace('src="/', 'src="'.$domain.'/', $body);
@@ -100,4 +100,4 @@ echo($w);
 
 ?>
 
- 
+