diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-28 06:11:53 +0800 |
|---|---|---|
| committer | Gallery Role Account <gallery@menalto.com> | 2009-05-28 11:07:08 +0800 |
| commit | 3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (patch) | |
| tree | 9310d1c82838d3e5076042be48178f5d53f5d971 /kohana/config/credit_cards.php | |
| parent | b245e3475f66c94afb94f8b2287bf0185a343732 (diff) | |
Rename 'kohana' to 'system' to conform to the Kohana filesystem layout. I'm comfortable with us not clearly drawing the distinction about the fact that it's Kohana.
Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'kohana/config/credit_cards.php')
| -rw-r--r-- | kohana/config/credit_cards.php | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/kohana/config/credit_cards.php b/kohana/config/credit_cards.php deleted file mode 100644 index bfc98420..00000000 --- a/kohana/config/credit_cards.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php defined('SYSPATH') OR die('No direct access allowed.'); -/** - * Credit card validation configuration. - * - * Options for each credit card: - * length - All the allowed card number lengths, in a comma separated string - * prefix - The digits the card needs to start with, in regex format - * luhn - Enable or disable card number validation by the Luhn algorithm - */ -$config = array -( - 'default' => array - ( - 'length' => '13,14,15,16,17,18,19', - 'prefix' => '', - 'luhn' => TRUE - ), - 'american express' => array - ( - 'length' => '15', - 'prefix' => '3[47]', - 'luhn' => TRUE - ), - 'diners club' => array - ( - 'length' => '14,16', - 'prefix' => '36|55|30[0-5]', - 'luhn' => TRUE - ), - 'discover' => array - ( - 'length' => '16', - 'prefix' => '6(?:5|011)', - 'luhn' => TRUE, - ), - 'jcb' => array - ( - 'length' => '15,16', - 'prefix' => '3|1800|2131', - 'luhn' => TRUE - ), - 'maestro' => array - ( - 'length' => '16,18', - 'prefix' => '50(?:20|38)|6(?:304|759)', - 'luhn' => TRUE - ), - 'mastercard' => array - ( - 'length' => '16', - 'prefix' => '5[1-5]', - 'luhn' => TRUE - ), - 'visa' => array - ( - 'length' => '13,16', - 'prefix' => '4', - 'luhn' => TRUE - ), -);
\ No newline at end of file |
