我有一個CakePHP應用程序在Heroku上運行,但無法加載插件。這一切都在我的本地開發機器上運行,但是當我推送到Heroku Cake時,找不到我定義的插件。錯誤消息表明它正在尋找「/ app/app/Plugin」插件而不是「/ app/Plugin」。如何糾正Heroku上的路徑而不會破壞我的本地路徑?Cakephp Heroku插件路徑錯誤
錯誤:無法找到ElasticSearchIndex.ElasticSearchIndexableBehavior。
錯誤:創建類ElasticSearchIndexableBehavior以下文件:/app/app/Plugin/ElasticSearchIndex/Model/Behavior/ElasticSearchIndexableBehavior.php
堆棧跟蹤:
試着把所有第三方庫放在外面的供應商目錄 –
有沒有什麼辦法可以在本地主機上模擬Heroku路徑?一些配置什麼的? – MrCkobe