Hi,
i'm having problems with the single_login.php hack. Placed it in my root, works fine. But i get the warnings below. onbviously it got something to do with the _logout.php, but i didn't modify the logout or activate it. Does anyone here have a clue how to fix this?
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in example.com/zenphoto2/zp-core/plugins/user_logout.php on line 22
Warning: array_unique() [function.array-unique]: The argument should be an array in example.com/zenphoto2/zp-core/plugins/user_logout.php on line 22
Warning: Invalid argument supplied for foreach() in example.com/zenphoto2/zp-core/plugins/user_logout.php on line 23
Comments
`$candidate = array_unique(Array_merge(array_keys($_COOKIE), $_SESSION));`
to:
`$candidate = array_keys($_COOKIE);`
This will not be compatible with the `album sessions` option, though.