In XF2, three lines are required. Create a file named connectXenForo2.php and add the following contents.
<?php
/** @var $fileDir */
$fileDir = '/Absolute/Path/To/xf2';
require( $fileDir . '/src/XF.php' );
\XF::start($fileDir);
$app = \XF::setupApp('XF\Pub\App');
$app->start();
Now create...
LPH is working on lesson plans for the next school year. He will be available during his breaks. The next break is February 21-25, 2022.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.