return $GLOBALS['mt_word'];
}
+// "Getter" for mt_word2
+function getMtWord2 () {
+ // Do we have cache?
+ if (!isset($GLOBALS['mt_word2'])) {
+ // Determine it
+ $GLOBALS['mt_word2'] = getConfig('mt_word2');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['mt_word2'];
+}
+
// "Getter" for main_title
function getMainTitle () {
// Do we have cache?
return $GLOBALS['online_timeout'];
}
+// "Getter" for index_home
+function getIndexHome () {
+ // Do we have cache?
+ if (!isset($GLOBALS['index_home'])) {
+ // Determine it
+ $GLOBALS['index_home'] = getConfig('index_home');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['index_home'];
+}
+
// Checks wether proxy configuration is used
function isProxyUsed () {
// Do we have cache?
return $GLOBALS['total_points'][$userid];
}
+// Wrapper to check if url_blacklist is enabled
+function isUrlBlacklistEnabled () {
+ // Do we have cache?
+ if (!isset($GLOBALS['is_url_blacklist_enabled'])) {
+ // Determine it
+ $GLOBALS['is_url_blacklist_enabled'] = (getConfig('url_blacklist') == 'Y');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS['is_url_blacklist_enabled'];
+}
+
// [EOF]
?>