Line 117... |
Line 117... |
117 |
'.SOL' => 'application/solids', // MATRA Prelude Solids |
117 |
'.SOL' => 'application/solids', // MATRA Prelude Solids |
118 |
'.stp' => 'application/STEP', // ISO-10303 STEP data files |
118 |
'.stp' => 'application/STEP', // ISO-10303 STEP data files |
119 |
'.STP' => 'application/STEP', // ISO-10303 STEP data files |
119 |
'.STP' => 'application/STEP', // ISO-10303 STEP data files |
120 |
'.step' => 'application/STEP', // ISO-10303 STEP data files |
120 |
'.step' => 'application/STEP', // ISO-10303 STEP data files |
121 |
'.STEP' => 'application/STEP', // ISO-10303 STEP data files |
121 |
'.STEP' => 'application/STEP', // ISO-10303 STEP data files |
- |
|
122 |
'.svg' => 'application/svg', // Scalable Vector Graphics |
122 |
'.vda' => 'application/vda', // VDA-FS Surface data |
123 |
'.vda' => 'application/vda', // VDA-FS Surface data |
123 |
'.VDA' => 'application/vda', // VDA-FS Surface data |
124 |
'.VDA' => 'application/vda', // VDA-FS Surface data |
124 |
'.dir' => 'application/x-director', // Macromedia Director |
125 |
'.dir' => 'application/x-director', // Macromedia Director |
125 |
'.dcr' => 'application/x-director', // Macromedia Director |
126 |
'.dcr' => 'application/x-director', // Macromedia Director |
126 |
'.dxr' => 'application/x-director', // Macromedia Director |
127 |
'.dxr' => 'application/x-director', // Macromedia Director |
Line 372... |
Line 373... |
372 |
$vars["lang_endform"] = "</form>"; |
373 |
$vars["lang_endform"] = "</form>"; |
373 |
} |
374 |
} |
374 |
|
375 |
|
375 |
// Set up headers |
376 |
// Set up headers |
376 |
|
377 |
|
377 |
header("Content-type: text/html; charset=".$config->outputEnc); |
378 |
header('Content-Type: text/html; charset=UTF-8'); |
378 |
|
379 |
|
379 |
// Make sure that the user has set up a repository |
380 |
// Make sure that the user has set up a repository |
380 |
|
381 |
|
381 |
$reps = $config->getRepositories(); |
382 |
$reps = $config->getRepositories(); |
382 |
if (empty($reps[0])) |
383 |
if (empty($reps[0])) |