We would like to have the 'upload_dir' outside the MachForm dir and have set it to something different than 'data_dir' in the settings-table, e.g.
'upload_dir' = '/some_absolute_path/datadir'
'data_dir' = './data'
With Apache set to something like:
Alias "/machform/data" "/some_absolute_path/datadir"
While a form directory is made using 'upload_path' e.g:
if($mf_settings['data_dir'] != $mf_settings['upload_dir']){
@mkdir($machform_data_path.$mf_settings['upload_dir']."/form_{$form_id}",0755);
}
the form css directory is created and copied using 'data_dir'. Also 'data_dir' is is used for things like <link rel="stylesheet" type="text/css" href="./data/form_12345/css/view.css">
How is this supposed to be used?