Advertisement
Guest User

Untitled

a guest
Sep 5th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. /* to solve login issue */
  2. /*if (!$cookieParams['httponly']) {
  3. unset($cookieParams['httponly']);
  4. if (!$cookieParams['secure']) {
  5. unset($cookieParams['secure']);
  6. if (!$cookieParams['domain']) {
  7. unset($cookieParams['domain']);
  8. }
  9. }
  10. }
  11.  
  12. if (isset($cookieParams['domain'])) {
  13. $cookieParams['domain'] = $cookie->getDomain();*/ //I have commented these lines
  14.  
  15. $cookieParams = array(
  16. 'lifetime' => $cookie->getLifetime(),
  17. 'path' => $cookie->getPath(),
  18. //'domain' => $cookie->getConfigDomain()
  19. //'secure' => $cookie->isSecure(),
  20. //'httponly' => $cookie->getHttponly()
  21. );
  22. }*/
  23.  
  24. <?php echo $this->getBlockHtml('formkey'); ?>
  25.  
  26. UPDATE admin_user SET password=CONCAT(MD5('qXpassword'), ':qX') WHERE username=‘user’;
  27.  
  28. var/session
  29.  
  30. <session_save><![CDATA[db]]></session_save>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement