summaryrefslogtreecommitdiff
path: root/admin.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 /admin.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 'admin.pl')
-rwxr-xr-xadmin.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin.pl b/admin.pl
index 9fd0cb6a..7f83eb74 100755
--- a/admin.pl
+++ b/admin.pl
@@ -100,7 +100,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 {
@@ -113,7 +113,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";
}