使用Imagick计算页面PDF(Prestashop)

时间:2017-03-21 14:52:38

标签: php prestashop imagick

我使用Imagick计算我的PDF中由客户端上传的页数,但我的var_dump没有返回任何结果。

这是来自我的ProductController.php控制器的prestashop代码,用于上传文件。

        Splash splash = new Splash();
        Instalador instalador = new Instalador();

        splash.Show();
        Thread.Sleep(2 * 1000);
        splash.Close();

        Application.Run(instalador);

{     const CUSTOMIZATION_FILE_DIR ='自定义';

class ProductController extends ProductControllerCore

}

谢谢。

0 个答案:

没有答案