qrlib.php (1602B)
1 <?php 2 /* 3 * PHP QR Code encoder 4 * 5 * Root library file, prepares environment and includes dependencies 6 * 7 * Based on libqrencode C library distributed under LGPL 2.1 8 * Copyright (C) 2006, 2007, 2008, 2009 Kentaro Fukuchi <fukuchi@megaui.net> 9 * 10 * PHP QR Code is distributed under LGPL 3 11 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> 12 * 13 * This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU Lesser General Public 15 * License as published by the Free Software Foundation; either 16 * version 3 of the License, or any later version. 17 * 18 * This library is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 * Lesser General Public License for more details. 22 * 23 * You should have received a copy of the GNU Lesser General Public 24 * License along with this library; if not, write to the Free Software 25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 */ 27 28 $QR_BASEDIR = dirname(__FILE__).DIRECTORY_SEPARATOR; 29 30 // Required libs 31 32 include $QR_BASEDIR."qrconst.php"; 33 include $QR_BASEDIR."qrconfig.php"; 34 include $QR_BASEDIR."qrtools.php"; 35 include $QR_BASEDIR."qrspec.php"; 36 include $QR_BASEDIR."qrimage.php"; 37 include $QR_BASEDIR."qrinput.php"; 38 include $QR_BASEDIR."qrbitstream.php"; 39 include $QR_BASEDIR."qrsplit.php"; 40 include $QR_BASEDIR."qrrscode.php"; 41 include $QR_BASEDIR."qrmask.php"; 42 include $QR_BASEDIR."qrencode.php"; 43