diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-03-06 12:18:57 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-03-06 12:18:57 -0500 |
commit | 34b0eaf23341c00dae5a809249445549f5abbc53 (patch) | |
tree | 781bf6742b1d07eb9f5615c47919bf3b251f1e6d /lib/class/vauth.class.php | |
parent | 08a4f848be123b9ac3a1b59e0ce0821e6df9fe26 (diff) | |
download | ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.gz ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.bz2 ampache-34b0eaf23341c00dae5a809249445549f5abbc53.zip |
Clean up uses of Config::set and Config::set_by_array
Consistently pass in a boolean instead of a string or an int for the
clobber flag.
Diffstat (limited to 'lib/class/vauth.class.php')
-rw-r--r-- | lib/class/vauth.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/vauth.class.php b/lib/class/vauth.class.php index 34bb813a..30dfe10c 100644 --- a/lib/class/vauth.class.php +++ b/lib/class/vauth.class.php @@ -259,7 +259,7 @@ class vauth { $remember_length = Config::get('remember_length'); $session_name = Config::get('session_name'); - Config::set('cookie_life',$remember_length,'1'); + Config::set('cookie_life', $remember_length, true); setcookie($session_name . '_remember',"Rappelez-vous, rappelez-vous le 27 mars", time() + $remember_length, '/'); } // create_remember_cookie |