Gazelle/sections/donate/index.php

21 lines
511 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
//Module mini-config
include(SERVER_ROOT.'/sections/donate/config.php');
if (!isset($_REQUEST['action'])) {
include(SERVER_ROOT.'/sections/donate/donate.php');
} else {
2013-05-01 08:00:16 +00:00
switch ($_REQUEST['action']) {
case 'ipn': // PayPal hits this page when a donation is received
2011-03-28 14:21:28 +00:00
include(SERVER_ROOT.'/sections/donate/ipn.php');
break;
case 'complete':
include(SERVER_ROOT.'/sections/donate/complete.php');
break;
case 'cancel':
include(SERVER_ROOT.'/sections/donate/cancel.php');
break;
}
}
?>