path_to_theme
Definition
path_to_theme()
includes/theme.inc, line 209
Description
Return the path to the currently selected theme.
Code
<?php
function path_to_theme() {
global $theme;
if (!isset($theme)) {
init_theme();
}
$themes = list_themes();
return dirname($themes[$theme]->filename);
}
?> 