Blame view

dompdf/autoload.inc.php 767 Bytes
670b6d6f8   tuan   2016/09/22 - Copy...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <?php
  /**
   * @package dompdf
   * @link    http://dompdf.github.com/
   * @author  Benj Carson <benjcarson@digitaljunkies.ca>
   * @author  Fabien Ménager <fabien.menager@gmail.com>
   * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
   */
  
  /**
   * Dompdf autoload function
   *
   * If you have an existing autoload function, add a call to this function
   * from your existing __autoload() implementation.
   *
   * @param string $class
   */
  
  require_once __DIR__ . '/lib/html5lib/Parser.php';
  require_once __DIR__ . '/lib/php-font-lib/src/FontLib/Autoloader.php';
  require_once __DIR__ . '/lib/php-svg-lib/src/autoload.php';
  
  /*
   * New PHP 5.3.0 namespaced autoloader
   */
  require_once __DIR__ . '/src/Autoloader.php';
  
  Dompdf\Autoloader::register();