lilalo

changeset 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 a92b17c77b57
children ab7c06df9db9
files l3-upload
line diff
     1.1 --- a/l3-upload	Fri Jul 04 17:44:19 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";