protected function __construct()
 {
     $this->admin = new SpotIM_Admin();
     $this->api = new SpotIM_API_Dispatcher();
     // setup front-end
     if (!is_admin()) {
         SpotIM_Frontend::setup();
         $get = $_GET;
         if (isset($get['p']) && $get['p'] != '' && isset($get['json-comments'])) {
             $post_ids = (array) $get['p'];
             SpotIM_Export::generate_json_by_post($post_ids);
         }
     }
 }