OSDN Git Service

ADD/FIX/CHANGE/REMOVE: スキン・テンプレート表示処理の改良
[nucleus-jp/nucleus-next.git] / nucleus / index.php
index 6bc8c7e..a2b5368 100644 (file)
@@ -78,12 +78,11 @@ if ( $bNeedsLogin )
        $action = 'showlogin';
 }
 
-/* FIXME: Skin class also output this HTTP1.1 headers
-sendContentType('text/html', 'admin-' . $action);
-*/
-
 if ( !Admin::initialize() )
 {
+       /* TODO: this is a bad way... */
+       sendContentType('text/html', 'admin-' . $action);
+       
        $skin = new Skin(0, 'AdminActions', 'AdminSkin');
        if ( $bNeedsLogin )
        {