use other filename then compress
parent
6b1b104e1d
commit
295bc4cbeb
|
@ -181,7 +181,10 @@ namespace OpenSim.Modules.DataValue
|
||||||
|
|
||||||
string _storageKey = BitConverter.ToString(new MD5CryptoServiceProvider().ComputeHash(ASCIIEncoding.ASCII.GetBytes(index.Trim().ToUpper()))).Replace("-", "");
|
string _storageKey = BitConverter.ToString(new MD5CryptoServiceProvider().ComputeHash(ASCIIEncoding.ASCII.GetBytes(index.Trim().ToUpper()))).Replace("-", "");
|
||||||
|
|
||||||
return m_dataValueDirectory + "/" + _nameSpace + "/" + _storageKey + ".gz";
|
if(m_enabledCompress)
|
||||||
|
return m_dataValueDirectory + "/" + _nameSpace + "/" + _storageKey + ".gz";
|
||||||
|
|
||||||
|
return m_dataValueDirectory + "/" + _nameSpace + "/" + _storageKey + ".txt";
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue