コード例 #1
0
ファイル: Moderation.php プロジェクト: procod3R/FoolFuuka
 /**
  * Selects the theme. Can be overridden so other controllers can use their own admin components
  *
  * @param Loader $theme_instance
  */
 public function setupTheme(Loader $theme_instance)
 {
     // we need to load more themes
     $theme_instance->addDir(VENDPATH . 'foolz/foolfuuka/public/themes-admin');
     $this->theme = $theme_instance->get('foolz/foolfuuka-theme-admin');
 }
コード例 #2
0
ファイル: Reader.php プロジェクト: KasaiDot/FoolSlide2
 /**
  * Selects the theme. Can be overridden so other controllers can use their own admin components
  *
  * @param Loader $theme_instance
  */
 public function setupTheme(Loader $theme_instance)
 {
     // we need to load more themes
     $theme_instance->addDir(ASSETSPATH . 'public/themes-admin');
     $this->theme = $theme_instance->get('foolz/foolslide-theme-admin');
 }