mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
Toolkit: deharcoded source directory
SVN:trunk[2234]
This commit is contained in:
@@ -304,8 +304,13 @@ class RunTimeEnvironment
|
||||
return $aRet;
|
||||
}
|
||||
|
||||
public function CompileFrom($sSourceEnv, $sSourceDir = 'datamodel')
|
||||
public function CompileFrom($sSourceEnv, $sSourceDir = null)
|
||||
{
|
||||
if (is_null($sSourceDir))
|
||||
{
|
||||
$oSourceConfig = new Config(utils::GetConfigFilePath($sSourceEnv));
|
||||
$sSourceDir = $oSourceConfig->Get('source_dir');
|
||||
}
|
||||
$sSourceDirFull = APPROOT.$sSourceDir;
|
||||
// Do load the required modules
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user