Local macros (Closes: #57)
This commit is contained in:
parent
2007ac3814
commit
1b1cb88f14
@ -1044,9 +1044,16 @@ sub run ($$) {
|
||||
$class->lmSetApacheUser( $apacheRequest, $datas->{$whatToTrace} );
|
||||
|
||||
# AUTHORIZATION
|
||||
my $kc = keys %$datas;
|
||||
return $class->forbidden($uri) unless ( $class->grant($uri) );
|
||||
$class->updateStatus( $datas->{$whatToTrace}, $apacheRequest->uri, 'OK' );
|
||||
|
||||
# Store local macros
|
||||
if ( keys %$datas > $kc and $refLocalStorage ) {
|
||||
$class->lmLog("Update local cache","debug");
|
||||
$refLocalStorage->set( $id, $datas, "10 minutes" );
|
||||
}
|
||||
|
||||
# ACCOUNTING
|
||||
# 2 - Inform remote application
|
||||
$class->sendHeaders;
|
||||
|
Loading…
Reference in New Issue
Block a user