Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisetiyadi committed Jan 1, 2012
1 parent 7f4316a commit b3838bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Ciqrcode.php
Expand Up @@ -65,7 +65,8 @@ public function initialize($config = array()) {
include "qrcode/qrmask.php";
include "qrcode/qrencode.php";
}



public function generate($params = array()) {
$params['data'] = (isset($params['data'])) ? $params['data'] : 'QR Code Library';
if (isset($params['savename'])) {
Expand All @@ -81,4 +82,7 @@ public function generate($params = array()) {
return QRcode::png($params['data']);
}
}
}

}

/* end of file */

0 comments on commit b3838bf

Please sign in to comment.