Commit 2637ea71234a829a82ba405a421d11922963e763

Authored by michael
1 parent 6a16fc8e

retrieve umask as an int


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1678 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 5 additions and 1 deletions
config/environment.php
... ... @@ -39,7 +39,11 @@ if ($default->system->initialised()) {
39 39 "sessionTimeout", "sslEnabled");
40 40  
41 41 for ($i=0; $i<count($aSettings); $i++) {
42   - $default->$aSettings[$i] = $default->system->get($aSettings[$i]);
  42 + if ($aSettings[$i] == "uMask") {
  43 + $default->$aSettings[$i] = $default->system->getInt($aSettings[$i]);
  44 + } else {
  45 + $default->$aSettings[$i] = $default->system->get($aSettings[$i]);
  46 + }
43 47 }
44 48 } else {
45 49 // TODO: redirect to system setup form
... ...