PHP Snappy(wkhtmltopdf(webkit pdf generator))不喜欢我的codeigniter页面

时间:2012-06-07 01:26:45

标签: php codeigniter codeigniter-2 wkhtmltopdf

我使用名为wkhtmltopdfSnappy PHP包装器。除了我的本地codeigniter生成的页面之外,它在任何URL上都能很好地工作。我已尝试使用index.php,没有.html作为url后缀等。它将从与codeigniter相同的本地web目录中读取html文件,但不读取codeigniter的URL(甚至不是index.php) 。我有点难过。

  • 我删除了任何可能导致.htaccess
  • 的内容
  • 没有robots.txt
  • pyrocms使用它(并且由CI提供支持)

1 个答案:

答案 0 :(得分:2)

修正:结果是wkhtmltopdf真的不喜欢rel="stylesheet/less"中的LESS CSS <head>