Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dnsmanagerv1/lib/rt/rootfake.pm

29 lines
465 B
Perl
Raw Normal View History

package rt::rootfake;
use configuration ':all';
use app;
use utf8;
use Exporter 'import';
# what we want to export eventually
our @EXPORT_OK = qw/rt_root_fake/;
# bundle of exports (tags)
our %EXPORT_TAGS = ( all => [qw/rt_root_fake/] );
sub rt_root_fake {
my ($session) = @_;
my $res;
$$res{template} = 'index';
$$res{params} = {
login => "toto"
, admin => 1
, domains => qw/toto.netlib.re/
};
$res
}
1;