lilalo

diff l3-upload @ 158:d775ffd49dbf

minifix: bsd/darwin in uname
author Igor Chubin <igor@chub.in>
date Wed Feb 01 17:14:54 2012 +0200 (2012-02-01)
parents 58c869722fd0
children
line diff
     1.1 --- a/l3-upload	Sun Jun 29 15:09:04 2008 +0300
     1.2 +++ b/l3-upload	Wed Feb 01 17:14:54 2012 +0200
     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";