Not a bug index.php Unexpected contents

Status
Not open for further replies.

Bourne

Member
Affected version
2.1.1
<?php

$phpVersion = phpversion();
if (version_compare($phpVersion, '5.6.0', '<'))
{
die("PHP 5.6.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}

$dir = DIR;
require($dir . '/src/XF.php');

XF::start($dir);

if (\XF::requestUrlMatchesApi())
{
\XF::runApp('XF\Api\App');
}
else
{
\XF::runApp('XF\Pub\App');
}
 
If you require support, associate your forum user name with your license and post in the relevant customer support forum.
 
Status
Not open for further replies.
Back
Top Bottom