Commit efa8526cf4b660e13412acf786a09e8ee0b2199d
1 parent
91dee2fd
Exists in
master
and in
112 other branches
Create symbolic link to LocalParams file in user WS dir
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
php/classes/UserMgr.php
... | ... | @@ -634,8 +634,10 @@ define('JOBPATH', USERPATH.'jobs/'); |
634 | 634 | $this->setPath(); |
635 | 635 | |
636 | 636 | $this->userMissions = $this->getAvailableMissionsByUser(); |
637 | - | |
638 | - $this->makeLocalTree(); | |
637 | + | |
638 | + if (!file_exists(USERWSDIR.'LocalParams.xml')) | |
639 | + symlink(DATAPATH.'/LocalParams.xml', USERWSDIR.'LocalParams.xml'); | |
640 | + //$this->makeLocalTree(); | |
639 | 641 | |
640 | 642 | $ok = $this->makeRemoteTree(); |
641 | 643 | |
... | ... |