Browse code

MIME-Type konfigurierbar

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@696 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on11/10/2007 08:15:16
Showing2 changed files
... ...
@@ -16,6 +16,9 @@ $config['cracklib_dict'] = 'inc/cracklib_dict';
16 16
 $config['enable_debug'] = true;
17 17
 
18 18
 
19
+$config['mime_type'] = 'application/xhtml+xml';
20
+
21
+
19 22
 ini_set('error_reporting','On');
20 23
 
21 24
 ?>
... ...
@@ -62,7 +62,7 @@ $menuitem["logout"]["file"] = "logout.php";
62 62
 */
63 63
 
64 64
 
65
-header('Content-Type: application/xhtml+xml');
65
+header("Content-Type: {$config['mime_type']}");
66 66
 ?>
67 67
 <?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n"; ?>
68 68
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"