From dc2e1d31cb70b4c2ac889d6df7a03b2fb865d7f7 Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 13 Jun 2007 22:10:21 +0000 Subject: [PATCH] --- lib/Doctrine/Connection/Sqlite.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Doctrine/Connection/Sqlite.php b/lib/Doctrine/Connection/Sqlite.php index f70b10abf..3c5664882 100644 --- a/lib/Doctrine/Connection/Sqlite.php +++ b/lib/Doctrine/Connection/Sqlite.php @@ -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 *