mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 09:38:48 +02:00
Toolkit: deharcoded source directory
SVN:trunk[2234]
This commit is contained in:
@@ -792,9 +792,13 @@ class utils
|
||||
/**
|
||||
* Get target configuration file name (including full path)
|
||||
*/
|
||||
public static function GetConfigFilePath()
|
||||
public static function GetConfigFilePath($sEnvironment = null)
|
||||
{
|
||||
return APPCONF.self::GetCurrentEnvironment().'/'.ITOP_CONFIG_FILE;
|
||||
if (is_null($sEnvironment))
|
||||
{
|
||||
$sEnvironment = self::GetCurrentEnvironment();
|
||||
}
|
||||
return APPCONF.$sEnvironment.'/'.ITOP_CONFIG_FILE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user