In XF2, three lines are required. Create a file named connectXenForo2.php and add the following contents.
PHP:
<?php
/** @var $fileDir */
$fileDir = '/Absolute/Path/To/xf2';
require( $fileDir . '/src/XF.php' );
\XF::start($fileDir);
$app =...
You do not have permission to view the full content of this resource.
Log in or register now.