* Adjust for php8.1.

This commit is contained in:
wangyidong
2023-08-25 13:23:25 +08:00
parent 63e82583fa
commit 2c4fac09b8
+1 -2
View File
@@ -1523,9 +1523,8 @@ class baseRouter
{
$fp = fopen($file2Included, 'r');
$line1 = fgets($fp);
$line2 = fgets($fp);
fclose($fp);
if(strpos($line1, '<?php //') === 0 and strpos($line2, "if(!extension_loaded('ionCube Loader'))") === 0) $isEncrypted = true;
if(strpos($line1, '<?php //') === 0) $isEncrypted = true;
}
/*