autoload.inc~20171216-130144.php 767 B

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