leginon-org / leginon-redmine-archive

1 stars 0 forks source link

Need to change default Appion path #12830

Closed leginonbot closed 7 months ago

leginonbot commented 7 months ago

Author Name: Sargis Dallakyan (@dallakyan) Original Redmine Issue: 12830, https://emg.nysbc.org/redmine/issues/12830 Original Date: 2022-06-07 Original Assignee: Sargis Dallakyan


This is to accommodate new storage with a path like /igloo/h1/$USER/appion.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2022-06-10T03:42:20Z


Could not get the code in a6399881 and 8a5e6ca0 to work without $_SESSION['username'] defined. Used the original works with

define('DEFAULT_APPION_PATH',"/igloo/h1/to_be_replaced/appion"); define('APPION_PARENT_ADDITION',0); define('APPION_PARENT_REPLACEMENT',-1);

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2022-06-10T03:44:29Z


3f4d2124 added replacement of user with $_SESSION['username'] if found when define('APPION_PARENT_REPLACEMENT',-1);

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2022-07-07T22:20:57Z


End results is no change was needed.