我想使用ajax调用PHP文件,其中PHP我将通过ajax调用下订单.但是当我使用该文件中的app/Mage.php时,它会抛出错误
require_once '../../../../../../../../../../app/Mage.php';
$customer = Mage::getModel('customer/customer');
Run Code Online (Sandbox Code Playgroud)
然后它说
致命错误:在第432行的app\Mage.php中的非对象上调用成员函数getModelInstance()
谁能帮帮我吗???