Changeset 2751
- Timestamp:
- 02/19/10 11:43:11 (2 years ago)
- Files:
-
- trunk/common/lib/admin.defines.php (modified) (1 diff)
- trunk/common/lib/agent.defines.php (modified) (1 diff)
- trunk/common/lib/common.defines.php (modified) (1 diff)
- trunk/common/lib/customer.defines.php (modified) (1 diff)
- trunk/common/lib/epayment/classes/order.php (modified) (1 diff)
- trunk/common/lib/epayment/methods/paypal.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/common/lib/admin.defines.php
r2747 r2751 32 32 **/ 33 33 34 define ("PHP_QUICK_PROFILER", false);34 define ("PHP_QUICK_PROFILER", true); 35 35 // Include PHP-Quick-Profiler 36 36 require_once('PhpQuickProfiler.php'); trunk/common/lib/agent.defines.php
r2747 r2751 32 32 **/ 33 33 34 define ("PHP_QUICK_PROFILER", false);34 define ("PHP_QUICK_PROFILER", true); 35 35 // Include PHP-Quick-Profiler 36 36 require_once('PhpQuickProfiler.php'); trunk/common/lib/common.defines.php
r2750 r2751 128 128 129 129 // A2BILLING INFO 130 define ("COPYRIGHT", "A2Billing - Version 1.6.0 (Hickory) - Released : 16 February 2010, A2Billing is software licensed under the ".'<a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" target="_blank">AGPL 3</a>' . ". <br/>" . "Copyright (C) 2004-2009- Star2billing S.L. <a href=\"http://www.star2billing.com\" target=\"_blank\">http://www.star2billing.com/</a>");130 define ("COPYRIGHT", "A2Billing 1.6.0 (Hickory), A2Billing is software licensed under the ".'<a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" target="_blank">AGPL 3</a>' . ". <br/>" . "Copyright (C) 2004-2010 - Star2billing S.L. <a href=\"http://www.star2billing.com\" target=\"_blank\">http://www.star2billing.com/</a>"); 131 131 132 132 define ("CCMAINTITLE", gettext("A2Billing Portal")); trunk/common/lib/customer.defines.php
r2747 r2751 32 32 **/ 33 33 34 define ("PHP_QUICK_PROFILER", false);34 define ("PHP_QUICK_PROFILER", true); 35 35 // Include PHP-Quick-Profiler 36 36 require_once('PhpQuickProfiler.php'); trunk/common/lib/epayment/classes/order.php
r2433 r2751 36 36 if ($numrow == 0) {exit();} 37 37 $customer_info =$resmax -> fetchRow(); 38 if ($customer_info [12] != "1" ) {38 if ($customer_info [12] != "1" && $customer_info [12] != "8") { 39 39 exit(); 40 40 } trunk/common/lib/epayment/methods/paypal.php
r2351 r2751 63 63 $my_currency = strtoupper($GLOBALS['A2B']->config['global']['base_currency']); 64 64 65 if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'MXN' ))) {65 if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'MXN', 'AUD'))) { 66 66 $my_currency = 'USD'; 67 67 } … … 88 88 $my_currency = MODULE_PAYMENT_PAYPAL_CURRENCY; 89 89 $base_currency = strtoupper($GLOBALS['A2B']->config['global']['base_currency']); 90 if($my_currency =='Selected Currency' && in_array($base_currency,array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'MXN' )) ){90 if($my_currency =='Selected Currency' && in_array($base_currency,array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'MXN', 'AUD')) ){ 91 91 $my_currency = $base_currency; 92 92 } 93 elseif (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'MXN' ))) {93 elseif (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'MXN', 'AUD'))) { 94 94 $my_currency = 'USD'; 95 95 }
