1
我想從Prestashop之外啓動AdminController模塊。基本上,我創建了一個使用Prestashop獲取當前員工的外部程序,我應該實例化AdminController,但是它的拋出錯誤。是否可以從外部Prestashop啓動AdminController?
許多模塊初始化FrontController設計,但我無法找到像AdminController任何例如:
include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/../../init.php');
請指點。
你能解釋一下你想做什麼嗎?你現在的員工是什麼? – user2831723
@ user2831723當然,我有一個外部庫,當我想從Web瀏覽器訪問Prestashop時顯示當前登錄的員工。外部庫和Prestashop都安裝在同一個Web服務器上,並且可以相互訪問。 –