# HG changeset patch # User igor@chub.in # Date 1215182957 -10800 # Node ID 56cd2abd3e8a2a16a479736de6a1ca72c0a39136 # Parent a92b17c77b5707811b7350a7df66787f3b83e324 l3-upload dir is read from config file diff -r a92b17c77b57 -r 56cd2abd3e8a l3-upload --- a/l3-upload Fri Jul 04 17:44:19 2008 +0300 +++ b/l3-upload Fri Jul 04 17:49:17 2008 +0300 @@ -1,5 +1,10 @@ #!/usr/bin/perl # +BEGIN { + chdir("/etc/lilalo/"); + require l3config; + l3config::init_config(); +}; use CGI; $upload_dir = "/var/www/xguru/l3shot";