summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2022-03-12 20:16:19 +0000
committerYaco <franco@reevo.org>2022-03-12 20:16:19 +0000
commit83a878888e2ba678b68fc805836af337a3622623 (patch)
tree0218dcd62ca59977b24d2674cf1cf0b176c67a48 /conf
parente586ac30e297cdb6950a81fadfdcdf51251832ff (diff)
removes redirection
Diffstat (limited to 'conf')
-rw-r--r--conf/plugin/bureaucracy/crowdfunding.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/conf/plugin/bureaucracy/crowdfunding.php b/conf/plugin/bureaucracy/crowdfunding.php
index 4a6c18a..eda21cb 100644
--- a/conf/plugin/bureaucracy/crowdfunding.php
+++ b/conf/plugin/bureaucracy/crowdfunding.php
@@ -43,7 +43,7 @@ class helper_plugin_bureaucracy_handler_crowdfunding implements bureaucracy_hand
foreach($fields as $row){
if ($n != 0) {
- if ($row->opt["label"] === 'E-Mail') {
+ if ($row->opt["label"] === 'E-Mail') || ($row->opt["label"] === 'Correo electrónico') {
$line = $line . ' | <' . $row->opt["value"] . '>';
} else {
$line = $line . ' | ' . $row->opt["value"];
@@ -62,8 +62,8 @@ class helper_plugin_bureaucracy_handler_crowdfunding implements bureaucracy_hand
$filepath = $INFO['filepath'];
// unifica el registro si viene de idioma español
- $store_tmp = str_replace("/es/","/",$filepath);
- $store = str_replace(".txt",".log.txt",$store_tmp);
+ // $store_tmp = str_replace("/es/","/",$filepath);
+ $store = str_replace(".txt",".log.txt",$filepath);
// // Abre el fichero para obtener el contenido existente
if(!is_file($store)){
foreach($fields as $row){
@@ -81,12 +81,12 @@ class helper_plugin_bureaucracy_handler_crowdfunding implements bureaucracy_hand
// // Escribe el contenido al fichero
file_put_contents($store, $actual);
//
- if ($pago === "PayPal") {
- echo "<script type='text/javascript'>window.open('https://paypal.com', '_blank');</script>";
- echo $thanks;
- exit;
- // exit;
- }
+ // if ($pago === "PayPal") {
+ // echo "<script type='text/javascript'>window.open('https://paypal.com', '_blank');</script>";
+ // echo $thanks;
+ // exit;
+ // // exit;
+ // }
// dbglog($line);
// return $thanks;
}