Advertisement
juliarnasution

phpqrcode ganti construct

Mar 28th, 2020
897
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.67 KB | None | 0 0
  1. function __construct($config = array()) {
  2.         // call original library
  3.         $QR_BASEDIR = dirname(__FILE__).DIRECTORY_SEPARATOR;
  4.    
  5.         // Required libs
  6.         include $QR_BASEDIR."qrcode/qrconst.php";
  7.         include $QR_BASEDIR."qrcode/qrconfig.php";
  8.         include $QR_BASEDIR."qrcode/qrtools.php";
  9.         include $QR_BASEDIR."qrcode/qrspec.php";
  10.         include $QR_BASEDIR."qrcode/qrimage.php";
  11.         include $QR_BASEDIR."qrcode/qrinput.php";
  12.         include $QR_BASEDIR."qrcode/qrbitstream.php";
  13.         include $QR_BASEDIR."qrcode/qrsplit.php";
  14.         include $QR_BASEDIR."qrcode/qrrscode.php";
  15.         include $QR_BASEDIR."qrcode/qrmask.php";
  16.         include $QR_BASEDIR."qrcode/qrencode.php";
  17.         $this->initialize($config);
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement