paypal ipn cacert update

This commit is contained in:
Znote 2021-09-22 10:40:48 +02:00
parent d914c93085
commit a7fed3bfe3
3 changed files with 507 additions and 731 deletions

View File

@ -7,6 +7,8 @@ $version = '2.0_DEV';
session_start();
ob_start();
require_once $filepath.'config.php';
$sessionPrefix = $config['session_prefix'];
require_once $filepath.'engine/database/connect.php';
require_once $filepath.'engine/function/general.php';
require_once $filepath.'engine/function/cache.php';

File diff suppressed because it is too large Load Diff

View File

@ -4,9 +4,9 @@ if ($config['log_ip']) {
}
$house = (isset($_GET['id']) && (int)$_GET['id'] > 0) ? (int)$_GET['id'] : false;
$house_SQL = "";
if ($house !== false) {
$house = mysql_select_single("
$house_SQL = "
SELECT
`h`.`id`, `h`.`owner`, `h`.`paid`, `h`.`name`, `h`.`rent`, `h`.`town_id`,
`h`.`size`, `h`.`beds`, `h`.`bid`, `h`.`bid_end`, `h`.`last_bid`, `h`.`highest_bidder`,
@ -16,7 +16,8 @@ if ($house !== false) {
ON `h`.`owner` > 0
AND `p`.`id` = `h`.`owner`
WHERE `h`.`id`='{$house}';
");
";
$house = mysql_select_single($house_SQL);
$minbid = $config['houseConfig']['minimumBidSQM'] * $house['size'];
if ($house['owner'] == 0) unset($house['ownername']);