Minor job fix
This commit is contained in:
@@ -215,6 +215,7 @@ namespace Step.Model
|
||||
// File paths
|
||||
public const string MAINTENANCE_ATTACHMENT_PATH = "C:\\CMS\\STEP\\attachment\\";
|
||||
public const string TEMP_FILE = @"C:\CMS\STEP\tmp\pp\";
|
||||
public const string JOB_TMP_DIRECTORY = @"C:\CMS\STEP\tmp\pp\job\";
|
||||
public const string QUEUE_TMP_FILE = @"C:\CMS\STEP\tmp\pp\queue\";
|
||||
public const string PART_PRG_IMAGES = @"C:\CMS\STEP\pp_img/";
|
||||
}
|
||||
|
||||
@@ -149,6 +149,12 @@ namespace Step.App_Start
|
||||
|
||||
if (!Directory.Exists(PART_PRG_IMAGES))
|
||||
Directory.CreateDirectory(PART_PRG_IMAGES);
|
||||
|
||||
if (!Directory.Exists(JOB_TMP_DIRECTORY))
|
||||
Directory.CreateDirectory(JOB_TMP_DIRECTORY);
|
||||
|
||||
if (!Directory.Exists(QUEUE_TMP_FILE))
|
||||
Directory.CreateDirectory(QUEUE_TMP_FILE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user