projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FileManagement: Anpassung an neue Schnittstelle im Ordercontroller
[kivitendo-erp.git]
/
SL
/
Request.pm
diff --git
a/SL/Request.pm
b/SL/Request.pm
index
f72694d
..
00744ac
100644
(file)
--- a/
SL/Request.pm
+++ b/
SL/Request.pm
@@
-18,6
+18,7
@@
our @EXPORT_OK = qw(flatten unflatten read_cgi_input);
use Rose::Object::MakeMethods::Generic
(
use Rose::Object::MakeMethods::Generic
(
+ scalar => [ qw(applying_database_upgrades) ],
'scalar --get_set_init' => [ qw(cgi layout presenter is_ajax type) ],
);
'scalar --get_set_init' => [ qw(cgi layout presenter is_ajax type) ],
);
@@
-41,6
+42,10
@@
sub init_type {
return 'html';
}
return 'html';
}
+sub is_https {
+ $ENV{HTTPS} && 'on' eq lc $ENV{HTTPS};
+}
+
sub cache {
my ($self, $topic, $default) = @_;
sub cache {
my ($self, $topic, $default) = @_;