foreach ($postData['login'] as $id => $login) {
// Secure id number
$id = bigintval($id);
- /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'id=' . $id . ',login=' . $login);
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'id=' . $id . ',login=' . $login);
// When both passwords match update admin account
if ((!empty($element)) && (isset($postData[$element]))) {
// Save this setting
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_admins` SET `%s`='%s' WHERE `id`=%s LIMIT 1",
- array($element, $postData[$element][$id], $id), __FUNCTION__, __LINE__);
+ array(
+ $element,
+ $postData[$element][$id],
+ $id
+ ), __FUNCTION__, __LINE__);
// Admin account saved
$message = '{--ADMIN_ACCOUNT_SAVED--}';
return $GLOBALS[__FUNCTION__];
}
-// "Getter" for mt_word2
+// "Getter" for mt_word3
function getMtWord3 () {
// Do we have cache?
if (!isset($GLOBALS[__FUNCTION__])) {
return $GLOBALS[__FUNCTION__];
}
+// "Getter" for START_TDAY
+function getStartTday () {
+ // Do we have cache?
+ if (!isset($GLOBALS[__FUNCTION__])) {
+ // Determine it
+ $GLOBALS[__FUNCTION__] = getConfig('START_TDAY');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__];
+}
+
+// "Getter" for START_YDAY
+function getStartYday () {
+ // Do we have cache?
+ if (!isset($GLOBALS[__FUNCTION__])) {
+ // Determine it
+ $GLOBALS[__FUNCTION__] = getConfig('START_YDAY');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__];
+}
+
// "Getter" for main_title
function getMainTitle () {
// Do we have cache?