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

SF.net SVN: ledger-smb: [927] branches/1.2/login.pl



Revision: 927
          http://svn.sourceforge.net/ledger-smb/?rev=927&view=rev
Author:   einhverfr
Date:     2007-03-17 12:59:30 -0700 (Sat, 17 Mar 2007)

Log Message:
-----------
forgot to copy a file over.  THis completes the previous ?path=/bin/lynx patch

Modified Paths:
--------------
    branches/1.2/login.pl

Modified: branches/1.2/login.pl
===================================================================
--- branches/1.2/login.pl	2007-03-17 19:58:39 UTC (rev 926)
+++ branches/1.2/login.pl	2007-03-17 19:59:30 UTC (rev 927)
@@ -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.