buypoints.php

main 21 lines · 466 bytes Raw
Alex Alex Commit Initial commit 01/10/2026 09:20
1<?php require_once 'engine/init.php';
2protect_page();
3theme_open();
4
5if (empty($config['buypoints_enabled'])) {
6 echo '<p>'. t('buypoints.off') .'</p>';
7 theme_close();
8 exit();
9}
10
11// Import from config:
12$pagseguro = $config['pagseguro'];
13$paypal = $config['paypal'];
14$stripe = $config['stripe'] ?? array('enabled' => false);
15$mercadopago = $config['mercadopago'] ?? array('enabled' => false);
16$prices = $config['paypal_prices'];
17
18view('buypoints');
19
20theme_close();
21
Top