// CSS file handling:
if ((!isset($content['ext_css'])) || ($content['ext_css'] == "Y")) {
// Create FQFN for the CSS file
- $GLOBALS['output_mode']_FILE = sprintf("%stheme/%s/css/%s.css", constant('PATH'), GET_CURR_THEME(), $content['ext_name']);
+ $FQFN = sprintf("%stheme/%s/css/%s.css", constant('PATH'), GET_CURR_THEME(), $content['ext_name']);
// Is the file there?
- if (FILE_READABLE($GLOBALS['output_mode']_FILE)) {
+ if (FILE_READABLE($FQFN)) {
// CSS file for extension was found (use only relative path for now!)
EXT_ADD_CSS_FILE($content['ext_name'].".css");
$content['ext_css'] = "Y";