BossBey File Manager
PHP:
7.4.33
OS:
Linux
User:
root
Root
/
home
/
vssraipur
/
public_html
/
dompdf
📤 Upload
📝 New File
📁 New Folder
Close
Editing: autoload.inc.php
<?php /** * @package dompdf * @link * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Fabien Ménager <fabien.menager@gmail.com> * @license GNU Lesser General Public License */ // HMLT5 Parser //FIXME: replace with masterminds HTML5 //require_once __DIR__ . '/lib/html5lib/Parser.php'; // Sabberworm spl_autoload_register(function($class) { if (strpos($class, 'Sabberworm') !== false) { $file = str_replace('\\', DIRECTORY_SEPARATOR, $class); $file = realpath(__DIR__ . '/lib/php-css-parser/lib/' . (empty($file) ? '' : DIRECTORY_SEPARATOR) . $file . '.php'); if (file_exists($file)) { require_once $file; return true; } } return false; }); // php-font-lib require_once __DIR__ . '/lib/php-font-lib/src/FontLib/Autoloader.php'; //php-svg-lib 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();
Save
Cancel