Hi dude, can i set array value to $config['session_user_id'] ? or you will make it?
so it will check every item in array, when it exist in session then will become session_user_id default value.
For example i had two types of user_id in my session (for some reason i can't blend it to one type), there is voter_id and admin_id. So my value config will $config['session_user_id'] = array('voter_id','admin_id');
And rat library will check to my session, and will use one of them if it match or exist.
Hi dude, can i set array value to
$config['session_user_id']? or you will make it?so it will check every item in array, when it exist in session then will become
session_user_iddefault value.For example i had two types of
user_idin my session (for some reason i can't blend it to one type), there isvoter_idandadmin_id. So my value config will$config['session_user_id'] = array('voter_id','admin_id');And rat library will check to my session, and will use one of them if it match or exist.