use strict;
use warnings;
-use CGI;
+use CGI qw ( -utf8 );
# use Data::Dumper;
use C4::Context;
use C4::Auth;
my $q = CGI->new();
-my ($template, $loggedinuser, $cookie) = get_template_and_user({
- template_name => "admin/admin-home.tmpl", # whatever, we don't really use the template anyway.
- query => $q,
- type => "intranet",
- authnotrequired => 0,
- flagsrequired => {parameters => 'parameters_remaining_permissions'},
- debug => 1,
-});
+my ($template, $loggedinuser, $cookie) = get_template_and_user(
+ {
+ template_name => "admin/admin-home.tt", # whatever, we don't really use the template anyway.
+ query => $q,
+ type => "intranet",
+ authnotrequired => 0,
+ flagsrequired => {parameters => 'parameters_remaining_permissions'},
+ debug => 1,
+ }
+);
my $dbh = C4::Context->dbh;
my $tz_sth = $dbh->prepare("SHOW VARIABLES LIKE 'time_zone'");
=head2 cron/crontab
-Current versions of cron in debian allow ENV variables to be set in the lines preceeding
+Current versions of cron in debian allow ENV variables to be set in the lines preceding
scheduled commands. They will be exported to the environment of the scheduled job. This is
an example for crontab: