Skip to content

Commit

Permalink
Removing executable bit from documentation
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@1001 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
einhverfr committed Mar 24, 2007
1 parent 0ba15b2 commit 5004117
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 27 deletions.
Empty file modified LICENSE
100755 → 100644
Empty file.
12 changes: 6 additions & 6 deletions LedgerSMB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,17 @@ sub new {
$self->{action} =~ s/\W/_/g;
$self->{action} = lc $self->{action};

if ($self->{path} =~ /lynx/i){

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";

$self->{path} =~ s#\\#/#g;
if (($self->{path}) && ($self->{path} !~ m#^bin/#)
|| ($self->{path} =~ m#(\w*/){2,}#)){
$self->error("Access Denied");
}

if (($self->{script} =~ m#(..|\\|/)#)){
$self->error("Access Denied");
}
Expand Down
Empty file modified doc/COPYRIGHT
100755 → 100644
Empty file.
Empty file modified doc/README
100755 → 100644
Empty file.
Empty file modified doc/faq.html
100755 → 100644
Empty file.
Empty file modified favicon.ico
100755 → 100644
Empty file.
23 changes: 2 additions & 21 deletions login.pl
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,9 @@
# exit;
#}

$ARGV[0] = $_;
require "bin/$script";

if ($form{path}) {

if ($form{path} ne 'bin/lynx'){ $form{path} = 'bin/mozilla';}

$ARGV[0] = "$_&script=$script";
require "bin/$script";

} else {

$form{terminal} = "lynx";

if ($ENV{HTTP_USER_AGENT} !~ /lynx/i) {
$form{terminal} = "mozilla";
}

$ARGV[0] = "path=bin/$form{terminal}&script=$script";
map { $ARGV[0] .= "&${_}=$form{$_}" } keys %form;

require "bin/$script";

}

# end of main

0 comments on commit 5004117

Please sign in to comment.