Exemple #1
0
 /**
  * Given a theme and language, returns whether the them
  * supports that language
  *
  * @param  string $theme    The name of the theme to check
  * @param  string $language The name of the language to check
  * @return boolean          Whether the language supports the theme
  * @since 1.1.1
  */
 public static function themeSupportsLanguage($theme, $language)
 {
     $language = GeSHi::_cleanLanguageName($language);
     return geshi_can_include(GESHI_THEMES_ROOT . $theme . '/' . $language . '.php');
 }