* @link http://docs.elgg.org/Tutorials/Actions
*/
-require_once("../start.php");
+require_once(dirname(dirname(__FILE__)) . "/start.php");
$action = get_input("action");
action($action);
\ No newline at end of file
* @todo
*/
-require_once("../start.php");
-global $CONFIG;
+require_once(dirname(dirname(__FILE__)) . "/start.php");
$period = get_input('period');
if (!$period) {
* @link http://docs.elgg.org/Tutorials/PageHandlers
*/
-require_once("../start.php");
+require_once(dirname(dirname(__FILE__)) . "/start.php");
$handler = get_input('handler');
$page = get_input('page');
* @link http://docs.elgg.org/Tutorials/WebServices
*/
-require_once("../start.php");
+require_once(dirname(dirname(__FILE__)) . "/start.php");
$handler = get_input('handler');
$request = get_input('request');
* @todo Does this work?
*/
-require_once("../start.php");
-global $CONFIG;
+require_once(dirname(dirname(__FILE__)) . "/start.php");
// Register the error handler
error_reporting(E_ALL);