<?php
require_once('includes/config.inc.php');
function cronusGetThemeCSS () {
$themePath = "themes/".$GLOBALS['config']['theme']."/".$GLOBALS['config']['theme'].".css";
if( file_exists($themePath) ) {
return $themePath;
} else {
echo $GLOBALS['config']['theme'];
die("Theme error: the current theme does not have a valid CSS file.");
}
}
?>