aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prim_manager.cs
diff options
context:
space:
mode:
authorcw2007-02-12 01:41:44 +0000
committercw2007-02-12 01:41:44 +0000
commit1c87bdb464ca90a72d21b7851e89106c348ec8d8 (patch)
treeb9b728cfe71b1998d39eb28b70c844485b314a2c /Prim_manager.cs
parent[0000048] Animations (diff)
downloadopensim-SC-1c87bdb464ca90a72d21b7851e89106c348ec8d8.zip
opensim-SC-1c87bdb464ca90a72d21b7851e89106c348ec8d8.tar.gz
opensim-SC-1c87bdb464ca90a72d21b7851e89106c348ec8d8.tar.bz2
opensim-SC-1c87bdb464ca90a72d21b7851e89106c348ec8d8.tar.xz
[0000047] System.IO.Path combine path
Diffstat (limited to '')
-rw-r--r--Prim_manager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Prim_manager.cs b/Prim_manager.cs
index aa1c32a..3b6af10 100644
--- a/Prim_manager.cs
+++ b/Prim_manager.cs
@@ -310,10 +310,10 @@ namespace OpenSim
310 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[num]; 310 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[num];
311 311
312 // int count=0; 312 // int count=0;
313 string data_path = System.AppDomain.CurrentDomain.BaseDirectory + @"\data\"; 313 string data_path = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, @"data");
314 for(int cc = 0; cc < num; cc++) 314 for(int cc = 0; cc < num; cc++)
315 { 315 {
316 string filenam = data_path+@"prim_updates"+start+".dat"; 316 string filenam = System.IO.Path.Combine(data_path, @"prim_updates"+start+".dat");
317 int i = 0; 317 int i = 0;
318 //FileInfo fInfo = new FileInfo("objectupate"+start+".dat"); 318 //FileInfo fInfo = new FileInfo("objectupate"+start+".dat");
319 FileInfo fInfo = new FileInfo(filenam); 319 FileInfo fInfo = new FileInfo(filenam);