News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

'exports' folder

Started by dsanchez, August 28, 2022, 05:57:25 PM

Previous topic - Next topic

dsanchez

just noticed this folder created automatically in the same level as my smf installation:

drwxr-x---  2 www-data www-data 4096 Aug 28 17:59 exports
the folder contains a file 'index.php' which contains the following:

<?php

/**
 * This file is here solely to protect your exports directory.
 */

// Look for Settings.php....
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
{
        
// Found it!
        
require(dirname(dirname(__FILE__)) . '/Settings.php');
        
header('location: ' $boardurl);
}
// Can't find it... just forget it.
else
        exit;

?>


is this OK?

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: