[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1001] trunk



Revision: 1001
          http://svn.sourceforge.net/ledger-smb/?rev=1001&view=rev
Author:   einhverfr
Date:     2007-03-24 10:42:42 -0700 (Sat, 24 Mar 2007)

Log Message:
-----------
Removing executable bit from documentation

Modified Paths:
--------------
    trunk/LedgerSMB.pm
    trunk/login.pl

Property Changed:
----------------
    trunk/LICENSE
    trunk/doc/COPYRIGHT
    trunk/doc/README
    trunk/doc/faq.html
    trunk/favicon.ico


Property changes on: trunk/LICENSE
___________________________________________________________________
Name: svn:executable
   - 

Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm	2007-03-24 17:38:32 UTC (rev 1000)
+++ trunk/LedgerSMB.pm	2007-03-24 17:42:42 UTC (rev 1001)
@@ -125,17 +125,17 @@
 	$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");
 	}


Property changes on: trunk/doc/COPYRIGHT
___________________________________________________________________
Name: svn:executable
   - 


Property changes on: trunk/doc/README
___________________________________________________________________
Name: svn:executable
   - 


Property changes on: trunk/doc/faq.html
___________________________________________________________________
Name: svn:executable
   - 


Property changes on: trunk/favicon.ico
___________________________________________________________________
Name: svn:executable
   - 

Modified: trunk/login.pl
===================================================================
--- trunk/login.pl	2007-03-24 17:38:32 UTC (rev 1000)
+++ trunk/login.pl	2007-03-24 17:42:42 UTC (rev 1001)
@@ -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
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.