瀏覽代碼

Internal: added an helper to get the currently loaded config file

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1022 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 年之前
父節點
當前提交
dfdfac21e3
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core/config.class.inc.php

+ 4 - 0
core/config.class.inc.php

@@ -832,6 +832,10 @@ class Config
 	{
 	{
 		return is_writable($this->m_sFile);
 		return is_writable($this->m_sFile);
 	}
 	}
+	public function GetLoadedFile()
+	{
+		return $this->m_sFile;
+	}
 	
 	
 	/**
 	/**
 	 * Render the configuration as an associative array
 	 * Render the configuration as an associative array