1
我已經安裝了Prestashop,當我嘗試登錄到後端時,它會重新加載頁面。我試圖編輯以下部分Cookie.php爲什麼BackOffice登錄頁面在我的Prestashop網站上不斷重新加載?
public function isLoggedBack()
{
Tools::displayAsDeprecated();
/* Employee is valid only if it can be load and if cookie password is the same as database one */
return ($this->id_employee
&& Validate::isUnsignedId($this->id_employee)
&& Employee::checkPassword((int)$this->id_employee, $this->passwd)
//&& (!isset($this->_content['remote_addr']) || $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr()))
);
}
我在不同的網絡瀏覽器,沒有運氣嘗試這樣做。 有沒有合適的解決方案可用於此?