Skip to content
cweiske edited this page Mar 16, 2012 · 1 revision

Without config.ini

Here is how to connect to Virtuoso without writing a config.ini:

$this->efApp = Erfurt_App::getInstance();
$this->efApp->loadConfig(
    new Zend_Config(
        array(
            'store' => array(
                'backend' => 'virtuoso',
                'virtuoso' => array(
                    'dsn' => 'VOS',
                    'username' => 'dba',
                    'password' => 'dba'
                )
            )
        )
    )
);
$this->efApp->authenticate('dba', 'dba');
Clone this wiki locally