ohctech_p8/dompdf/lib/php-css-parser/tests/bootstrap.php
2024-10-16 19:18:52 +05:30

10 lines
196 B
PHP

<?php
spl_autoload_register(function($class)
{
$file = __DIR__.'/../lib/'.strtr($class, '\\', '/').'.php';
if (file_exists($file)) {
require $file;
return true;
}
});