Extension:PHP-Fusion Auth

What can this extension do?
I've adapded Extension:SMF Auth Integration to work with PHP-Fusion v7. Note, if you site and wiki are situated at different subdomains, for example site.ru and wiki at wiki.site.ru, you need to change some files of Fusion.

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

maincore.php
Find Replace Where site.ru is your site's domain.

setuser.php
Find Replace Where site.ru is your site's domain.