daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest May 16th, 2018 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Inicio do wp-config.php
  2.  
  3. $session_cookie_domain = 'jr2.in';
  4. // trocar o jr2.in pelo seu dominio, provavelmente 'trespontosbrasil.com.br'
  5.  
  6. ini_set('session.cookie_domain', $session_cookie_domain);
  7.  
  8. if(!session_id()){
  9.      //session_start();
  10. }
  11.  
  12.  
  13.  
  14.  
  15. // No arquivo so site que starta o session
  16. // troca o (provavelmente) session_start() puro por tudo isso:
  17.  
  18. $session_cookie_domain = 'jr2.in';
  19. // trocar o jr2.in pelo seu dominio, provavelmente 'trespontosbrasil.com.br'
  20.  
  21. ini_set('session.cookie_domain', $session_cookie_domain);
  22.  
  23. if(!session_id()){
  24.      //session_start();
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top