示例#1
0
 /**
  * Getter for the "theme_info.xml" file of the currently activated theme.
  *
  * @return string Filepath to "theme_info.xml" of the currently activated theme.
  */
 public function getCurrentThemeInfoFile()
 {
     // get array for frontend or backend theme
     $themepaths = AbstractRenderer::getThemeTemplatePaths();
     foreach ($themepaths as $themepath) {
         $theme_info_file = $themepath . DIRECTORY_SEPARATOR . 'theme_info.xml';
         if (is_file($theme_info_file_path)) {
             return $theme_info_file;
         }
     }
 }