print( "CORE: No factoids found.\n" );
}
- if( -e "privs.yaml" && -e "access.yaml" ) {
- $heap->{ 'privs' } = \%{ LoadFile( "privs.yaml" ) };
+ if( -e "access.yaml" ) {
$heap->{ 'access' } = \%{ LoadFile( "access.yaml" ) };
+ print( "CORE: Access levels loaded.\n" );
+ } else {
+ $heap->{ 'access' } = { };
+ }
+
+ if( -e "privs.yaml" ) {
+ $heap->{ 'privs' } = \%{ LoadFile( "privs.yaml" ) };
print( "CORE: Users loaded.\n" );
} else {
$heap->{ 'privs' } = { };
- $heap->{ 'access' } = { };
print( "CORE: No users found.\n" );
}