get('DYNAMIC_MENU');
$FANNIE_NAV_POSITION = $headerConfig->get('NAV_POSITION');
$FANNIE_CSS_LOGO = $headerConfig->get('CSS_LOGO');
$FANNIE_CHARSET = $headerConfig->get('CHARSET');
$FANNIE_CUSTOM_TITLE = $headerConfig->get('CUSTOM_TITLE');
$FANNIE_MENU = $headerConfig->get('MENU');
$BACKEND_NAME = $headerConfig->get('BACKEND_NAME', 'Fannie');
} else {
$BACKEND_NAME = $FANNIE_BACKEND_NAME;
}
if (preg_match('/^Fannie[^\w]+.*$/', $page_title)) {
$page_title = preg_replace('/^Fannie(.*)$/', $BACKEND_NAME . '$1', $page_title);
}
if (preg_match('/^Fannie[^\w]+.*$/', $header)) {
$header = preg_replace('/^Fannie(.*)$/', $BACKEND_NAME . '$1', $header);
}
/* try to deal with relative paths for includes */
$path = "";
$limit = 15;
$counter = 0;
while ($counter < $limit) {
if (file_exists($path . 'classlib2.0/FannieAPI.php')) {
break;
}
$path .= "../";
$counter++;
}
if (!isset($FANNIE_CHARSET) || empty($FANNIE_CHARSET)) {
$FANNIE_CHARSET = 'ISO-8859-1';
}
?>
|
IT CORE maintenance & reporting
|
|
|
|