/**
  * The default DG options to be used on install and when validating structure of options.
  *
  * @param $skeleton bool When true, expensive values are not calculated. Only keys may be trusted when returning skeleton.
  *
  * @return mixed[][] Contains default options for DG.
  */
 public static function getDefaultOptions($skeleton = false)
 {
     include_once DG_PATH . 'inc/class-thumber.php';
     $gs = $donate_link = null;
     if (!$skeleton) {
         $gs = DG_GhostscriptThumber::getGhostscriptExecutable();
         $donate_link = self::getDonateLink();
     }
     return array('thumber' => array('gs' => $gs, 'active' => DG_Thumber::getDefaultThumbers($skeleton), 'width' => 200, 'height' => 200), 'thumber-co' => array('uid' => null, 'secret' => null, 'subscription' => array(), 'direct_upload' => false, 'mime_types' => array()), 'gallery' => array('attachment_pg' => false, 'columns' => 4, 'descriptions' => false, 'fancy' => true, 'limit' => -1, 'mime_types' => implode(',', self::getDefaultMimeTypes()), 'new_window' => false, 'order' => 'ASC', 'orderby' => 'menu_order', 'paginate' => true, 'post_status' => 'any', 'post_type' => 'attachment', 'relation' => 'AND', 'skip' => 0), 'css' => array('text' => ''), 'meta' => array('version' => DG_VERSION, 'items_per_page' => 10, 'donate_link' => $donate_link), 'logging' => array('enabled' => defined('WP_DEBUG') && WP_DEBUG, 'purge_interval' => 7));
 }
 /**
  * Returns the default mapping of thumber slug to whether it is active or not.
  *
  * @param $skeleton bool When true, values that require computation will be
  *        skipped. Useful when only structure of options is needed.
  *
  * @return bool[] The default thumbnail generation methods.
  */
 public static function getDefaultThumbers($skeleton = false)
 {
     $gs_active = $imagick_active = null;
     if (!$skeleton) {
         $gs_active = (bool) DG_GhostscriptThumber::getGhostscriptExecutable();
         $imagick_active = DG_ImagickThumber::isImagickAvailable();
     }
     return array('av' => true, 'gs' => $gs_active, 'imagick' => $imagick_active, 'thumber-co' => false);
 }