Way to require an autoload in one file on a Prestashop module?

前端 未结 2 1575
-上瘾入骨i
-上瘾入骨i 2021-01-16 03:53

I\'m trying to use a set of libraries with Composer for a Prestashop module.

My current approach is to include the vendor/autoload.php file on every fil

2条回答
  •  日久生厌
    2021-01-16 04:26

    Maybe to re-route all scripts to one using htaccess/rewrite, then in that one before including prestashop files use autoload.

提交回复
热议问题