This function is used as an additional security feature and used in the admin area on pages where the admin can execute PHP commands directly to the server or enable upload of documents which such capabilities and the database backup feature.
The function will set the $_COOKIE[COOKIE_PREFIX.'admin'] if the submitted admin password matches the users admin password $userdata['user_admin_password']. This cookie allows the user to make changes without having to type the admin password constantly for each change or update within a set time of 60 minutes.
The function will set the $_COOKIE[COOKIE_PREFIX.'admin'] if the submitted admin password matches the users admin password $userdata['user_admin_password']. This cookie allows the user to make changes without having to type the admin password constantly for each change or update within a set time of 60 minutes.