From aa5f616d44a84ffb6c0c8d861434663f35d66faf Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 24 Mar 2007 17:36:04 +0000 Subject: Removing executable bit from .pm files in svn git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@999 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AA.pm | 0 LedgerSMB/AM.pm | 0 LedgerSMB/BP.pm | 0 LedgerSMB/CA.pm | 0 LedgerSMB/CP.pm | 0 LedgerSMB/CT.pm | 0 LedgerSMB/Form.pm | 13 +++++++++---- LedgerSMB/GL.pm | 0 LedgerSMB/HR.pm | 0 LedgerSMB/IC.pm | 0 LedgerSMB/IR.pm | 0 LedgerSMB/IS.pm | 0 LedgerSMB/Inifile.pm | 0 LedgerSMB/JC.pm | 0 LedgerSMB/Mailer.pm | 0 LedgerSMB/Menu.pm | 0 LedgerSMB/Num2text.pm | 0 LedgerSMB/OE.pm | 0 LedgerSMB/OP.pm | 0 LedgerSMB/PE.pm | 0 LedgerSMB/RC.pm | 0 LedgerSMB/RP.pm | 0 LedgerSMB/Session.pm | 0 LedgerSMB/Sysconfig.pm | 3 ++- LedgerSMB/Tax.pm | 0 LedgerSMB/User.pm | 0 26 files changed, 11 insertions(+), 5 deletions(-) mode change 100755 => 100644 LedgerSMB/AA.pm mode change 100755 => 100644 LedgerSMB/AM.pm mode change 100755 => 100644 LedgerSMB/BP.pm mode change 100755 => 100644 LedgerSMB/CA.pm mode change 100755 => 100644 LedgerSMB/CP.pm mode change 100755 => 100644 LedgerSMB/CT.pm mode change 100755 => 100644 LedgerSMB/Form.pm mode change 100755 => 100644 LedgerSMB/GL.pm mode change 100755 => 100644 LedgerSMB/HR.pm mode change 100755 => 100644 LedgerSMB/IC.pm mode change 100755 => 100644 LedgerSMB/IR.pm mode change 100755 => 100644 LedgerSMB/IS.pm mode change 100755 => 100644 LedgerSMB/Inifile.pm mode change 100755 => 100644 LedgerSMB/JC.pm mode change 100755 => 100644 LedgerSMB/Mailer.pm mode change 100755 => 100644 LedgerSMB/Menu.pm mode change 100755 => 100644 LedgerSMB/Num2text.pm mode change 100755 => 100644 LedgerSMB/OE.pm mode change 100755 => 100644 LedgerSMB/OP.pm mode change 100755 => 100644 LedgerSMB/PE.pm mode change 100755 => 100644 LedgerSMB/RC.pm mode change 100755 => 100644 LedgerSMB/RP.pm mode change 100755 => 100644 LedgerSMB/Session.pm mode change 100755 => 100644 LedgerSMB/Tax.pm mode change 100755 => 100644 LedgerSMB/User.pm diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/BP.pm b/LedgerSMB/BP.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/CA.pm b/LedgerSMB/CA.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm old mode 100755 new mode 100644 index ff436451..e75b3fd4 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -78,11 +78,16 @@ sub new { bless $self, $type; - $self->{path} =~ s#\\#/#g; - if (($self->{path}) && ($self->{path} !~ m#^bin/#) - || ($self->{path} =~ m#(\w*/){2,}#)){ - $self->error("Access Denied"); + if ($self->{path} eq "bin/lynx"){ + $self->{menubar} = 1; + #menubar will be deprecated, replaced with below + $self->{lynx} = 1; + $self->{path} = "bin/lynx"; + } else { + $self->{path} = "bin/mozilla"; + } + if (($self->{script} =~ m#(..|\\|/)#)){ $self->error("Access Denied"); } diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/HR.pm b/LedgerSMB/HR.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Inifile.pm b/LedgerSMB/Inifile.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/JC.pm b/LedgerSMB/JC.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Mailer.pm b/LedgerSMB/Mailer.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Menu.pm b/LedgerSMB/Menu.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Num2text.pm b/LedgerSMB/Num2text.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/OP.pm b/LedgerSMB/OP.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/RC.pm b/LedgerSMB/RC.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/RP.pm b/LedgerSMB/RP.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Session.pm b/LedgerSMB/Session.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm index 1d653465..bfb9c890 100644 --- a/LedgerSMB/Sysconfig.pm +++ b/LedgerSMB/Sysconfig.pm @@ -70,7 +70,8 @@ my %config; read_config('ledgersmb.conf' => %config) or die; # Root variables -for $var (qw(pathsep logging check_max_invoices language session latex)){ +for $var (qw(pathsep logging check_max_invoices language session latex + db_autoupdate)){ ${$var} = $config{''}{$var} if $config{''}{$var}; } diff --git a/LedgerSMB/Tax.pm b/LedgerSMB/Tax.pm old mode 100755 new mode 100644 diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm old mode 100755 new mode 100644 -- cgit v1.2.3