@rosali,
can you help me figure out why it's not working for me?
i'm using cpanel, the path to the config file is : /usr/local/cpanel/base/3rdparty/roundcube/config/
and i'm placing Alec's code to the config.inc.php file:
if (strpos($_SESSION['username'], '@domain.com')) {
$config['skin_logo'] = 'logo.jpg';
} elseif (strpos($_SESSION['username'], '@domain.com')) {
$config['skin_logo'] = 'logo2.jpg';
} else {
$config['skin_logo'] = null;
}
when i'm changing the if condition to 0 == 0 then the logo changes, but with session it doesn't work.
any idea what am i doing wrong ?
thank you.