Ignore:
Timestamp:
Jun 30, 2009, 5:32:59 PM (16 years ago)
Author:
Silvan Scherrer
Message:

fix swat, so that it works even when samba is not in x:\samba

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/web/swat.c

    r165 r292  
    13841384        load_printers();
    13851385
     1386#ifndef __OS2__
    13861387        cgi_setup(dyn_SWATDIR, !demo_mode);
     1388#else
     1389        fstring path;
     1390        fstrcpy(path, getcwd(NULL, _MAX_PATH));
     1391        fstrcat(path, "/swat");
     1392        cgi_setup(path, !demo_mode);
     1393#endif
    13871394
    13881395        print_header();
Note: See TracChangeset for help on using the changeset viewer.