if (empty($menu)) $menu = "N";
// Load extensions
- $file1 = sprintf(PATH."inc/extensions/ext-%s.php", $name);
+ $file1 = sprintf("%sinc/extensions/ext-%s.php", PATH, $name);
$file2 = $file1; $EXT_CSS = "N"; $EXT_ALWAYS_ACTIVE = "N";
// Special functions file
// If there's no language file specified we don't need to load one... ;-)
if (!empty($lang)) {
// Create language file
- $file2 = sprintf(PATH."inc/language/%s_%s.php", $lang, GET_LANGUAGE());
+ $file2 = sprintf("%sinc/language/%s_%s.php", PATH, $lang, GET_LANGUAGE());
}
if (file_exists($file3) && is_readable($file3))
if ($css == "Y")
{
- $CSS_FILE = PATH."theme/".GET_CURR_THEME()."/css/".$name.".css";
+ $CSS_FILE = sprintf("%stheme/%s/css/%s.css", PATH, GET_CURR_THEME(), $name);
if (file_exists($CSS_FILE))
{
// CSS file for extension was found (use only relative path for now!)