mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
22 lines
513 B
PHP
22 lines
513 B
PHP
<?
|
|
//Module mini-config
|
|
include(SERVER_ROOT.'/sections/donate/config.php');
|
|
|
|
if (!isset($_REQUEST['action'])) {
|
|
include(SERVER_ROOT.'/sections/donate/donate.php');
|
|
} else {
|
|
switch($_REQUEST['action']) {
|
|
case 'ipn': // Paypal hits this page when a donation is received
|
|
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;
|
|
}
|
|
}
|
|
?>
|