<?php
+# This file should be run automatically by .htaccess
+
define('DOCROOT', __DIR__ .'/');
-define('INC_WFPL', DOCROOT . 'inc/wfpl/');
require_once(DOCROOT . 'config.php');
-require_once(INC_WFPL . 'main.php');
+require_once(DOCROOT . 'inc/wfpl/main.php');
wfpl_main();