• XEN DEVELOPMENT is a developer's resource for new developers wanting to build XenForo 2 add-ons. Experienced developers are also welcome to share their experienes and knowledge. This site is not affiliated with XenForo or a replacement for the official XenForo developer forums.
How to Bridge PHP and XenForo 2

How to Bridge PHP and XenForo 2

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.
Author
LPH
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LPH

Top