Crash Override
Постоялец
- Регистрация
- 26 Май 2013
- Сообщения
- 128
- Реакции
- 104
1. V faile .htaccess dobav
<IfModule mod_expires.c>
#ExpiresDefault "access plus 1 days"
ExpiresByType text/html "access plus 0 minutes"
</IfModule>
2. themes/warehouse/modules/blockuserinfo/nav.tpl
v stroke
2.1 zemeniajemКод:{if $is_logged} <a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" ...
2.2 zemeniajemКод:{if $is_logged} <a href="{$link->getPageLink('my-account', true, NULL,"myaccount")|escape:'html':'UTF-8'}"
zemeniajemКод:{else} <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}"
Код:{else} <a class="login" href="{$link->getPageLink('authentication', true)}"
3. Udali vse starij cookies i cache iz browsera.
+ Mozno dobavit
V classes/Cookie.php
Код:public function logout() { $this->_content = array(); $this->_setcookie(); unset($_COOKIE[$this->_name]); $this->_modified = true; $this->write();// Dobavite eto } public function mylogout() { unset($this->_content['id_compare']); unset($this->_content['id_customer']); unset($this->_content['id_guest']); unset($this->_content['is_guest']); unset($this->_content['id_connections']); unset($this->_content['customer_lastname']); unset($this->_content['customer_firstname']); unset($this->_content['passwd']); unset($this->_content['logged']); unset($this->_content['email']); unset($this->_content['id_cart']); unset($this->_content['id_address_invoice']); unset($this->_content['id_address_delivery']); $this->_modified = true; $this->write();// Dobavite eto }
Для просмотра ссылки Войди