summaryrefslogtreecommitdiff
path: root/login.pl
diff options
context:
space:
mode:
authorchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 16:28:21 +0000
committerchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 16:28:21 +0000
commitedacf95ad24fca3c4ae08b44ffdfe4be5c68fdc1 (patch)
tree70407a0ef31c2cdf8a15170967f6ebbe45eb7073 /login.pl
parent2da98858e16ce370ece0bd79fae96b2e6312b2b5 (diff)
removing bin/lynx and bin/mozilla folders. All scripts are now at bin/ with bin/custom for custom scripts (user specific or otherwise)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@208 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'login.pl')
-rwxr-xr-xlogin.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/login.pl b/login.pl
index f38434c6..2fe123f5 100755
--- a/login.pl
+++ b/login.pl
@@ -101,7 +101,7 @@ if ($form{path}) {
if ($form{path} ne 'bin/lynx'){ $form{path} = 'bin/mozilla';}
$ARGV[0] = "$_&script=$script";
- require "$form{path}/$script";
+ require "bin/$script";
} else {
@@ -114,7 +114,7 @@ if ($form{path}) {
$ARGV[0] = "path=bin/$form{terminal}&script=$script";
map { $ARGV[0] .= "&${_}=$form{$_}" } keys %form;
- require "bin/$form{terminal}/$script";
+ require "bin/$script";
}