package cn.edu.seu.ise.dca.global;

public class Global {
	public static String REPO = "F:/Temp/";

	public static String OUTPUT_DIR= REPO + "temp/"; 	//For project mediawiki
	
	public static String DOWNLOAD_DIR = OUTPUT_DIR + "PHP/";
	
	//public static final String OUTPUT_DIR= "F:/Temp/coppermine/"; 	//For project coppermine
	public static final String GLOBALFUNCTION = "Global";
	
	public static String[] POSTFIX = {"php", "php3", "php4", "php5", "phtml", "inc", "dist", "js", "dtd", "d",
		"css", "py", "xsd", "xml", "sql", "perl", "pl", "plh", "plx", "pm", "sh", "as", "asp", "bash", "c", "cs", "cpp", "h", "java", 
		"xsl", "xslt", "drp", "p", "pas", "pp", "html", "htm", "am", "makefile", "gnumakefile", "smarty", "tpl"};
	
	public static void setOutputDir(String outputDir) {
		OUTPUT_DIR = REPO + outputDir + "/";
	}
	
	public static void setDownloadDir(String downloadDir) {
		DOWNLOAD_DIR = REPO + downloadDir + "/";
	}
}
