OSDN Git Service

sync with Rev1176
authorkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Fri, 7 Sep 2007 07:36:09 +0000 (07:36 +0000)
committerkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Fri, 7 Sep 2007 07:36:09 +0000 (07:36 +0000)
use content type 'text/html' instead of 'application/xhtml+xml' in the admin area to avoid parsing errors in some browsers if the xhtml is not fully valid

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/branches/branch-3-3@324 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/index.php

index ebb4bea..5ed13f0 100755 (executable)
@@ -12,8 +12,8 @@
 /**
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: index.php,v 1.8 2007-02-04 06:28:45 kimitake Exp $
- * $NucleusJP: index.php,v 1.7 2006/07/17 20:01:39 kimitake Exp $
+ * @version $Id: index.php,v 1.8.2.1 2007-09-07 07:36:09 kimitake Exp $
+ * $NucleusJP: index.php,v 1.8 2007/02/04 06:28:45 kimitake Exp $
  */
        // we are using admin stuff:
        $CONF = array();
@@ -70,7 +70,7 @@
                $action = 'showlogin';
        }
 
-       sendContentType('application/xhtml+xml', 'admin-' . $action);
+       sendContentType('text/html', 'admin-' . $action);
 
        $admin = new ADMIN();
        $admin->action($action);