roundcubemail/program/lib/Roundcube/rcube_db_oracle.php
protected function dsn_options($dsn)
    {
        $params = array();

        if ($dsn['hostspec']) {
            $host = $dsn['hostspec'];
            if ($dsn['port']) {
                $host .= ':' . $dsn['port'];
            }

            $params['database'] = $host . '/' . $dsn['database'];
        }

        $params['charset'] = 'UTF8';

        return $params;
    }
protected function dsn_options($dsn)
    {
        $params = array();

        if ($dsn['hostspec']) {
            $host = $dsn['hostspec'];
            if ($dsn['port']) {
                $host .= ':' . $dsn['port'];
            }

            $params['database'] = $host . '/' . $dsn['database'];
        }

        $params['charset'] = 'UTF8';

        return $params;
    }
protected function dsn_options ( $ dsn ) { $ params = array ( ) ; if ( $ dsn [ 'hostspec' ] ) { $ host = $ dsn [ 'hostspec' ] ; if ( $ dsn [ 'port' ] ) { $ host .= ':' . $ dsn [ 'port' ] ; } $ params [ 'database' ] = $ host . '/' . $ dsn [ 'database' ] ; } $ params [ 'charset' ] = 'UTF8' ; return $ params ; }
Returns connection options from DSN array
Returns connection options from DSN array