This commit is contained in:
parent
6b5bfea300
commit
dc2e1d31cb
1 changed files with 10 additions and 0 deletions
|
@ -76,6 +76,16 @@ class Doctrine_Connection_Sqlite extends Doctrine_Connection_Common
|
|||
parent::__construct($manager, $adapter);
|
||||
$this->initFunctions();
|
||||
}
|
||||
/**
|
||||
* getDatabaseFile
|
||||
*
|
||||
* @param string $name the name of the database
|
||||
* @return string
|
||||
*/
|
||||
public function getDatabaseFile($name)
|
||||
{
|
||||
return $name . '.db';
|
||||
}
|
||||
/**
|
||||
* initializes database functions missing in sqlite
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue