Location: PHPKode > projects > phlyMail Lite > phlymail/shared/lib/user.choices.php
<?php
/**
 * Read user choices and populate $_PM_ with them
 * @package phlyMail Nahariya 4.0+, Branch MessageCenter
 * @copyright 2001-2009 phlyLabs, Berlin (http://phlylabs.de)
 * @version 4.0.1 2009-11-14
 */
// Only valid within phlyMail
if (!defined('_IN_PHM_')) die();

$choices = $DB->get_usr_choices($_SESSION['phM_uid']);
// Prevent setting choices, which are invalid (no longer existant themes and the like)
if (isset($choices['core'])) {
    if (isset($choices['core']['theme_name']) && !file_exists($_PM_['path']['theme'].'/'.$choices['core']['theme_name'])) {
        unset($choices['core']['theme_name']);
    }
    if (isset($choices['core']['language']) && !file_exists($_PM_['path']['message'].'/'.$choices['core']['language'].'.php')) {
        unset($choices['core']['language']);
    }
}
$_PM_ = merge_PM($_PM_, $choices);
?>
Return current item: phlyMail Lite