lilalo

diff l3-upload @ 157:137cf5a580be

bsd fix
author Igor Chubin <igor@chub.in>
date Mon Nov 28 13:26:46 2011 +0200 (2011-11-28)
parents 58c869722fd0
children
line diff
     1.1 --- a/l3-upload	Sun Jun 29 15:09:04 2008 +0300
     1.2 +++ b/l3-upload	Mon Nov 28 13:26:46 2011 +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";