summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-22 10:32:56 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-22 10:32:56 -0500
commit4d5bbdfbc372f7a766837a71214c56daadfb44ce (patch)
treeefbd7424f631e30f6a39b6302f3919e723cd7c90 /etc/inc/voucher.inc
parent4ac251b8634a52fb5879a37af123e824b6fc8a24 (diff)
downloadpfsense-4d5bbdfbc372f7a766837a71214c56daadfb44ce.zip
pfsense-4d5bbdfbc372f7a766837a71214c56daadfb44ce.tar.gz
White space fixes and (C) for both Ermal and myself
Diffstat (limited to 'etc/inc/voucher.inc')
-rw-r--r--etc/inc/voucher.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc
index ab6fac1..5e8884e 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -1,6 +1,8 @@
<?php
/*
- Copyright (C) 2007 Marcel Wiget <mwiget@mac.com>.
+ Copyright (C) 2010 Ermal Luci <ermal.luci@gmail.com>
+ Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com>
+ Copyright (C) 2007 Marcel Wiget <mwiget@mac.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -140,7 +142,7 @@ function voucher_auth($voucher_received, $test = 0) {
list($status, $roll, $nr) = explode(" ", $result);
if ($status == "OK") {
if (!$first_voucher) {
- // store first voucher. Thats the one we give the timecredit
+ // store first voucher. Thats the one we give the timecredit
$first_voucher = $voucher;
$first_voucher_roll = $roll;
}
@@ -455,7 +457,7 @@ function voucher_save_db_to_config() {
$rollent['used'] = base64_encode($bitmask);
$active_vouchers = voucher_read_active_db($roll);
$db = array();
- $dbi = 1;
+ $dbi = 1;
foreach($active_vouchers as $voucher => $line) {
list($timestamp,$minutes) = explode(",", $line);
$activent['voucher'] = $voucher;
OpenPOWER on IntegriCloud