Malin / change-checkout-terms.php
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
| 1 | // for QRh |
| 2 | |
| 3 | add_filter('woocommerce_get_terms_and_conditions_checkbox_text', 'custom_terms_conditions_text'); |
| 4 | |
| 5 | function custom_terms_conditions_text($text) { |
| 6 | return 'He leído y estoy de acuerdo con los <a href="https://qrh.app/terminos-condiciones/">términos y condiciones</a> de la web y la <a href="https://qrh.app/politica-devoluciones-reembolso/" target="_new">política de devoluciones y reembolso</a>'; |
| 7 | } |
Malin / remove-old-campaigns.sql
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
| 1 | -- Remove campaigns older than 6 months from phpList including all stats. |
| 2 | -- Start transaction |
| 3 | START TRANSACTION; |
| 4 | |
| 5 | -- Delete user-message links for campaigns older than 6 months |
| 6 | DELETE FROM phplist_usermessage |
| 7 | WHERE messageid IN ( |
| 8 | SELECT id FROM phplist_message WHERE DATE_ADD(entered, INTERVAL 6 MONTH) < NOW() |
| 9 | ); |
Malin / HaProxy-reverse-postfix-master.cf
0 лайк(-ов)
0 форк(-ов)
2 файл(-ов)
Последняя активность 2 years ago
| 1 | # from: from: https://serverfault.com/questions/922248/how-to-configure-postfix-behind-haproxy |
| 2 | # Exposed SMTP service (postscreen support is needed to support the proxy protocol [search postscreen_upstream_proxy_protocol in main.cf]) |
| 3 | smtp inet n - - - 1 postscreen |
| 4 | smtpd pass - - - - - smtpd |
Malin / proxy-protocol-nginx.conf
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 years ago
| 1 | set_real_ip_from 104.16.0.0/12 |
| 2 | set_real_ip_from 172.64.0.0/13 |
| 3 | real_ip_header proxy_protocol; # proxy_protocol needed |
| 4 | real_ip_recursive on; |