projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
warnings
[kivitendo-erp.git]
/
scripts
/
console
diff --git
a/scripts/console
b/scripts/console
index
d567c56
..
239ed54
100755
(executable)
--- a/
scripts/console
+++ b/
scripts/console
@@
-62,10
+62,10
@@
sub lxinit {
$::lxdebug = LXDebug->new(file => $debug_file);
$::locale = Locale->new($::lx_office_conf{system}->{language});
$::lxdebug = LXDebug->new(file => $debug_file);
$::locale = Locale->new($::lx_office_conf{system}->{language});
- $::cgi = CGI->new qw();
$::form = Form->new;
$::auth = SL::Auth->new;
$::instance_conf = SL::InstanceConfiguration->new;
$::form = Form->new;
$::auth = SL::Auth->new;
$::instance_conf = SL::InstanceConfiguration->new;
+ $::request = { cgi => CGI->new({}) };
die 'cannot reach auth db' unless $::auth->session_tables_present;
die 'cannot reach auth db' unless $::auth->session_tables_present;
@@
-73,7
+73,7
@@
sub lxinit {
require "bin/mozilla/common.pl";
require "bin/mozilla/common.pl";
- die "cannot find user $login" unless %::myconfig = $::auth->read_user($login);
+ die "cannot find user $login" unless %::myconfig = $::auth->read_user(
login =>
$login);
$::form->{login} = $login; # normaly implicit at login
$::form->{login} = $login; # normaly implicit at login
@@
-106,14
+106,14
@@
sub quit {
sub help {
print <<EOL;
sub help {
print <<EOL;
-
Lx-Office
Konsole
+
kivitendo
Konsole
./scripts/console [login]
Spezielle Kommandos:
help - zeigt diese Hilfe an.
./scripts/console [login]
Spezielle Kommandos:
help - zeigt diese Hilfe an.
- lxinit 'login' - lädt das
Lx-Office
Environment für den User 'login'.
+ lxinit 'login' - lädt das
kivitendo-
Environment für den User 'login'.
reload - lädt modifizierte Module neu.
pp DATA - zeigt die Datenstruktur mit Data::Dumper an.
quit - beendet die Konsole
reload - lädt modifizierte Module neu.
pp DATA - zeigt die Datenstruktur mit Data::Dumper an.
quit - beendet die Konsole
@@
-135,7
+135,7
@@
__END__
=head1 NAME
=head1 NAME
-scripts/console -
Lx-Office
console
+scripts/console -
kivitendo
console
=head1 SYNOPSIS
=head1 SYNOPSIS
@@
-188,8
+188,8
@@
of the classes they were created with.
Configuration of this script is located in:
Configuration of this script is located in:
- config/
lx_office
.conf
- config/
lx_office
.conf.default
+ config/
kivitendo
.conf
+ config/
kivitendo
.conf.default
See there for interesting options.
See there for interesting options.