Skip to content

Commit

Permalink
remove everything stripe related (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
joschahenningsen committed Feb 25, 2021
1 parent 2c3452a commit a67f2f7
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 93 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ tmp/*
!tmp/.htaccess
.idea/
!/tmp/hunger/.htaccess
donateInfos.php
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
},
"require": {
"twig/twig": "^3.3",
"stripe/stripe-php": "^5.9",
"tum-dev/fmeat": "^3.0.2"
},
"require-dev": {
Expand Down
61 changes: 1 addition & 60 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions donate.php

This file was deleted.

5 changes: 0 additions & 5 deletions donateInfos.php.example

This file was deleted.

3 changes: 0 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@
$vars['cats'] = "show"; //Enables the script in the template
}

//Donation Key
//$vars['stripe_publishable_key'] = $stripe['publishable_key'];

renderTemplate($vars, $tplName = 'start');
4 changes: 0 additions & 4 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@ function renderTemplate($vars, $tplName = 'start') {
$vars['main_tpl'] = $tplName . '.twig';
echo $twig->render('main.twig', $vars);
}

//Add Donation info
/*include __DIR__ . '/donateInfos.php';
\Stripe\Stripe::setApiKey($stripe['secret_key']);*/

0 comments on commit a67f2f7

Please sign in to comment.