mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
PHP8: new str_* function
This commit is contained in:
parent
69385e16f2
commit
1275a4558c
7 changed files with 15 additions and 15 deletions
|
|
@ -120,7 +120,7 @@ $inc = get_included_files();
|
|||
$inc[] = array_shift($inc);
|
||||
$srcdir = realpath(FILE_PATH . "src/");
|
||||
foreach($inc as $s){
|
||||
if(strpos(realpath(dirname($s)), $srcdir) === false and strtolower(basename($s)) !== "pocketmine-mp.php"){
|
||||
if(!str_contains(realpath(dirname($s)), $srcdir) and strtolower(basename($s)) !== "pocketmine-mp.php"){
|
||||
continue;
|
||||
}
|
||||
$sha1sum ^= sha1_file($s, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue