forked from webmin/authentic-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.cgi
More file actions
27 lines (21 loc) · 691 Bytes
/
index.cgi
File metadata and controls
27 lines (21 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/perl
#
# Authentic Theme 17.00 (https://github.com/qooob/authentic-theme)
# Copyright 2015 Ilia Rostovtsev <programming@rostovtsev.ru>
# Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE)
#
BEGIN { push( @INC, ".." ); }
use WebminCore;
&ReadParse();
&init_config();
use lib 'authentic-theme/lib';
use JSON qw( decode_json );
do "authentic-theme/authentic-lib.cgi";
our (
%gconfig, $current_theme, $root_directory,
$theme_root_directory, $t_var_switch_m, $t_var_product_m
);
our %text = &load_language($current_theme);
our %gaccess = &get_module_acl( undef, "" );
our $title = &get_html_framed_title();
&authentic();