Commit fc12311f authored by dj3c1t's avatar dj3c1t

is local file based on db config install_host_root_dir

parent 9c26c21b
......@@ -138,7 +138,7 @@ class SourceWaveform {
if($v_url[2] != $configurationRepo->getConfigurationByName("install_domain")) {
return false;
}
$localFile = $_SERVER['DOCUMENT_ROOT'];
$localFile = $configurationRepo->getConfigurationByName("install_host_root_dir");
for($i = 3; $i < count($v_url); $i++) {
$localFile .= "/".$v_url[$i];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment