Skip to content
Permalink
Browse files

Fixing connection methods in DboSybase. Fixes #145

  • Loading branch information...
markstory committed Oct 6, 2009
1 parent 3bf94e6 commit 6e9ca4367e401ba88b8a5d3eb8a0a289dd7370b6
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/model/datasources/dbo/dbo_sybase.php
@@ -95,9 +95,9 @@ function connect() {
$port = ':' . $config['port'];
}
if ($config['persistent']) {
$this->connection = sybase_connect($config['host'] . $port, $config['login'], $config['password'], true);
} else {
$this->connection = sybase_pconnect($config['host'] . $port, $config['login'], $config['password']);
} else {
$this->connection = sybase_connect($config['host'] . $port, $config['login'], $config['password'], true);
}
$this->connected = sybase_select_db($config['database'], $this->connection);
return $this->connected;

0 comments on commit 6e9ca43

Please sign in to comment.
You can’t perform that action at this time.