roundcubemail/program/lib/Roundcube/rcube.php
protected function get_user_log_dir()
    {
        $log_dir      = $this->config->get('log_dir', RCUBE_INSTALL_PATH . 'logs');
        $user_name    = $this->get_user_name();
        $user_log_dir = $log_dir . '/' . $user_name;

        return !empty($user_name) && is_writable($user_log_dir) ? $user_log_dir : false;
    }
protected function get_user_log_dir()
    {
        $log_dir      = $this->config->get('log_dir', RCUBE_INSTALL_PATH . 'logs');
        $user_name    = $this->get_user_name();
        $user_log_dir = $log_dir . '/' . $user_name;

        return !empty($user_name) && is_writable($user_log_dir) ? $user_log_dir : false;
    }
protected function get_user_log_dir ( ) { $ log_dir = $ this -> config -> get ( 'log_dir' , RCUBE_INSTALL_PATH . 'logs' ) ; $ user_name = $ this -> get_user_name ( ) ; $ user_log_dir = $ log_dir . '/' . $ user_name ; return ! empty ( $ user_name ) && is_writable ( $ user_log_dir ) ? $ user_log_dir : false ; }
Get the per-user log directory
Get the per - user log directory