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