aboutsummaryrefslogtreecommitdiff
path: root/gpigeonctl.def.pl
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-07-18 12:04:08 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-07-18 16:03:51 +0100
commitd55095b26b988192a209218fd00af872d9811302 (patch)
tree9b0055cc402383893696158a1e7977a9c1f7f92b /gpigeonctl.def.pl
parentde854ac0a8fe72a1b0d0137c351b39de25e0adfe (diff)
downloadgpigeon-d55095b26b988192a209218fd00af872d9811302.tar.gz
gpigeon-d55095b26b988192a209218fd00af872d9811302.zip
Added file upload support and others fixes
- Added support for file upload from master branch - Adjusted gpigeonctl.def file for BINPREFIX variable - Did cleanup of dead variables and functions. Moved text in their script, no need to do complicated sed. $text_strings use is justified in gpigeon.cgi, not in link-tmpl.cgi. - Fixed seds in the Makefile - Removed NotifIfDefined function, found a simpler way for displaying/not displaying notifs. - Removing $argon2id_hash variable. Unused and has its place in the mono-user version of gpigeon.
Diffstat (limited to 'gpigeonctl.def.pl')
-rwxr-xr-xgpigeonctl.def.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpigeonctl.def.pl b/gpigeonctl.def.pl
index 4585967..b7d4108 100755
--- a/gpigeonctl.def.pl
+++ b/gpigeonctl.def.pl
@@ -23,7 +23,7 @@ use Term::ReadKey;
use Crypt::Argon2 qw(argon2id_pass);
use DBI;
delete @ENV{qw(IFS PATH CDPATH BASH_ENV)};
-$ENV{'PATH'} = '/usr/bin';
+$ENV{'PATH'} = q{bin_path_goes_here};
my $dbh_path = q{db_path_goes_here};
my $cookiesdir = q{cookies_dir_goes_here};
my $GNUPGHOME = q{gpgdir_goes_here};