version 1.6, 2015/03/10 20:19:14
|
version 1.7, 2015/03/10 21:24:53
|
Line 194 if (!$domrolesref) {
|
Line 194 if (!$domrolesref) {
|
|
|
# Store in nohist_domainroles.db |
# Store in nohist_domainroles.db |
my $domkey=&LONCAPA::escape('dc:'.$username.':'.$domain.'::'.$domain.':'); |
my $domkey=&LONCAPA::escape('dc:'.$username.':'.$domain.'::'.$domain.':'); |
$domrolesref->{$domkey}= &LONCAPA::escape('$now:'.$start); |
$domrolesref->{$domkey}= &LONCAPA::escape($now.':'.$start); |
&LONCAPA::locking_hash_untie($domrolesref); |
&LONCAPA::locking_hash_untie($domrolesref); |
|
|
system('/bin/chown',"www:www","$dompath/nohist_domainroles.db"); # Must be writeable by httpd process. |
system('/bin/chown',"www:www","$dompath/nohist_domainroles.db"); # Must be writeable by httpd process. |