Commit 7ae8c13df9e97d690cc5c4db3e7038e5968c5e86

Authored by Elena.Budnik
1 parent 8b1816c4

slash in AMDA_Users.xml added

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
src/DDSERVICES/SOAP/DDserverWeb.php
... ... @@ -114,7 +114,7 @@
114 114  
115 115 function getUserGroups()
116 116 {
117   - if (file_exists(extBaseDir."AMDA_Users.xml")) return extWebAlias."AMDA_Users.xml";
  117 + if (file_exists(extBaseDir."/AMDA_Users.xml")) return extWebAlias."AMDA_Users.xml";
118 118 else return NOUSERGROUPSSPECIFIED;
119 119 }
120 120  
... ... @@ -157,9 +157,9 @@
157 157 {
158 158 //get user
159 159 $user_dom = new DomDocument("1.0");
160   - if (!file_exists(extBaseDir."AMDA_Users.xml"))
  160 + if (!file_exists(extBaseDir."/AMDA_Users.xml"))
161 161 return array();
162   - $user_dom->load(extBaseDir."AMDA_Users.xml");
  162 + $user_dom->load(extBaseDir."/AMDA_Users.xml");
163 163  
164 164 $user_nodes = $user_dom->getElementsByTagName('user');
165 165  
... ... @@ -183,9 +183,9 @@
183 183  
184 184 //get local missions
185 185 $mis_dom = new DomDocument("1.0");
186   - if (!file_exists(extBaseDir."Missions.xml"))
  186 + if (!file_exists(extBaseDir."/Missions.xml"))
187 187 return array();
188   - $mis_dom->load(extBaseDir."Missions.xml");
  188 + $mis_dom->load(extBaseDir."/Missions.xml");
189 189  
190 190 $local_nodes = $mis_dom->getElementsByTagName('Local');
191 191 if ($local_nodes->length < 1)
... ...