Skip to content

Commit e6dfbbb

Browse files
Fix copy-paste error
1 parent 9da3e31 commit e6dfbbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

check-smf-index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
throw new Exception('Index file missing in ' . $currentDirectory);
5252
}
5353

54-
if (!\in_array(file_get_contents($path . '/index.php'), [$contents, str_replace('DIRECTORY_SEPARATOR . \'index.php\'', '\'/index.php\'', $contents)])) {
54+
if (!\in_array(file_get_contents($currentDirectory . '/index.php'), [$contents, str_replace('DIRECTORY_SEPARATOR . \'index.php\'', '\'/index.php\'', $contents)])) {
5555
throw new Exception('Index content does not match in ' . $currentDirectory);
5656
}
5757
}

0 commit comments

Comments
 (0)