|
|
@@ -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> <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;'> <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);
|
|
|
|
|
|
?>
|
|
|
|
|
|
-
|
|
|
+
|