0
我试图用DOMPDF生成从智者模板PDF文件: 代码如下: -如何加载智者模板的外部样式表在DOMPDF
require_once('dompdf/dompdf_config.inc.php');
$dompdf = new DOMPDF();
$dompdf->load_html($smarty->fetch(CURRENT_TEMPLATE.'/module/shopping_cart.html'));
$dompdf->render();
$dompdf->stream("sample.pdf");
我得到file.but我是PDF格式越来越PDF文件没有任何风格,我发现DOMPDF不加载外部stylesheet.so我如何可以加载外部样式表在智者模板提前