Commit 8077d2c5cfc609674ca44cfde6f97b031c66b6c1

Authored by Elena.Budnik
1 parent e1fd05b4

temporary commit WSUserMgr

Showing 1 changed file with 6 additions and 2 deletions   Show diff stats
php/classes/WSUserMgr.php
... ... @@ -48,7 +48,7 @@ class WSUserMgr extends UserMgr
48 48  
49 49 // $this->userWS = USERPATH . "/" . $this->user . "/WS/";
50 50 // chmod($this->userWS, 0775);
51   - $this->userMissions = $this->getAvailableMissionsByUser();
  51 + // $this->userMissions = $this->getAvailableMissionsByUser();
52 52  
53 53 $this->setPath();
54 54  
... ... @@ -57,7 +57,11 @@ class WSUserMgr extends UserMgr
57 57  
58 58 public function makeUserWS()
59 59 {
60   - $this->makeLocalTree();
  60 + if (file_exists(USERWSDIR.'LocalParams.xml'))
  61 + unlink(USERWSDIR.'LocalParams.xml');
  62 + // if (!file_exists(USERWSDIR.'LocalParams.xml'))
  63 + symlink(DATAPATH.'/LocalData/LocalParams.xml', USERWSDIR.'LocalParams.xml');
  64 + // $this->makeLocalTree();
61 65 $this->makeRemoteTree();
62 66  
63 67 return $this->user;
... ...