Hello, i need to get a list of users and respective avatars from an external php script.
I do this but i get:
An unexpected error occurred. Please try again later.
<?php
$fileDir = $_SERVER['DOCUMENT_ROOT'].'/forums/';
require($fileDir . '/src/XF.php');
XF::start($fileDir);
$app =...