summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorxue <>2005-12-23 03:31:07 +0000
committerxue <>2005-12-23 03:31:07 +0000
commit153581e1081ba4225eb93221aced493709cb606c (patch)
tree7b2a165708d6fb8e587749e3e0fe1f813c2011aa /framework/Data
parent5c0517b7748dcfae1264d28df7ea111a67bd3aa4 (diff)
Implemented new page storage method.
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/TSqliteCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/TSqliteCache.php b/framework/Data/TSqliteCache.php
index 8425ccf1..865c2a47 100644
--- a/framework/Data/TSqliteCache.php
+++ b/framework/Data/TSqliteCache.php
@@ -121,7 +121,7 @@ class TSqliteCache extends TModule implements ICache
if(!function_exists('sqlite_open'))
throw new TConfigurationException('sqlitecache_extension_required');
if($this->_file===null)
- $this->_file=$application->getStatePath().'/sqlite.cache';
+ $this->_file=$application->getRuntimePath().'/sqlite.cache';
$error='';
if(($this->_db=new SQLiteDatabase($this->_file,0666,$error))===false)
throw new TConfigurationException('sqlitecache_connection_failed',$error);