Sfoglia il codice sorgente

Session cookie options

Zachary Kotlarek 12 anni fa
parent
commit
a1e467ac72
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      web/includes/auth.php

+ 1 - 0
web/includes/auth.php

@@ -4,6 +4,7 @@ $AUTH_ERR = '';
 
 
 # Always start a session, unless we're on the CLI
 # Always start a session, unless we're on the CLI
 if (php_sapi_name() != 'cli') {
 if (php_sapi_name() != 'cli') {
+	#session_set_cookie_params(0, '/tv', $_SERVER['HTTP_HOST'], true, true);
 	session_start();
 	session_start();
 }
 }