lilalo

diff l3-upload @ 128:56cd2abd3e8a

l3-upload dir is read from config file
author igor@chub.in
date Fri Jul 04 17:49:17 2008 +0300 (2008-07-04)
parents 58c869722fd0
children
line diff
     1.1 --- a/l3-upload	Sun Jun 29 15:09:04 2008 +0300
     1.2 +++ b/l3-upload	Fri Jul 04 17:49:17 2008 +0300
     1.3 @@ -1,5 +1,10 @@
     1.4  #!/usr/bin/perl
     1.5  #
     1.6 +BEGIN {
     1.7 +    chdir("/etc/lilalo/");
     1.8 +    require l3config;
     1.9 +    l3config::init_config();
    1.10 +};
    1.11  
    1.12  use CGI;
    1.13  $upload_dir = "/var/www/xguru/l3shot";