summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/generate_taler_contract.php1
-rw-r--r--src/frontend/index.php2
-rw-r--r--src/frontend_lib/config.php4
3 files changed, 4 insertions, 3 deletions
diff --git a/src/frontend/generate_taler_contract.php b/src/frontend/generate_taler_contract.php
index 00bf53a7..511b13d5 100644
--- a/src/frontend/generate_taler_contract.php
+++ b/src/frontend/generate_taler_contract.php
@@ -16,6 +16,7 @@
*/
include '../frontend_lib/util.php';
+include "../frontend_lib/config.php";
session_start();
diff --git a/src/frontend/index.php b/src/frontend/index.php
index 7666e6ec..c0086a85 100644
--- a/src/frontend/index.php
+++ b/src/frontend/index.php
@@ -115,7 +115,7 @@ require_once "../frontend_lib/config.php";
<option value="6.0">5 <?php echo $MERCHANT_CURRENCY; ?> (*)</option>
<option value="10.0">10 <?php echo $MERCHANT_CURRENCY; ?></option>
</select>
- <input type="hidden" name="donation_currency" value="KUDOS"/>
+ <input type="hidden" name="donation_currency" value=<?php echo $MERCHANT_CURRENCY; ?>/>
<input type="submit" name="keyName" value="Donate!"/>
<br>
<br>
diff --git a/src/frontend_lib/config.php b/src/frontend_lib/config.php
index 5463fdf8..99d05093 100644
--- a/src/frontend_lib/config.php
+++ b/src/frontend_lib/config.php
@@ -1,7 +1,7 @@
<?php
-$explicit_currency = false;
-//$explicit_currency = "EUR";
+//$explicit_currency = false;
+$explicit_currency = "EUR";
$host = $_SERVER["HTTP_HOST"];
switch ($host) {