BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 459B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. $ENV = ENV::go();
  4. if (!$ENV->FEATURE_DONATE) {
  5. header('Location: index.php');
  6. error();
  7. }
  8. if (!isset($_REQUEST['action'])) {
  9. include SERVER_ROOT.'/sections/donate/donate.php';
  10. } else {
  11. switch ($_REQUEST['action']) {
  12. case 'complete':
  13. include SERVER_ROOT.'/sections/donate/complete.php';
  14. break;
  15. case 'cancel':
  16. include SERVER_ROOT.'/sections/donate/cancel.php';
  17. break;
  18. }
  19. }