Follow-up to bugfix #12324: Renamed sanitizeBackEndUrl() to sanitizeLocalUrl() in...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_modsettings.php
index dbbbce1..028aff8 100644 (file)
  *                                     'desc' => 'descritpion text, not mandatory',
  *                                     'data' => array(),      // data from MOD_SETTINGS
  *                                     'user' => NULL, // can be used for extra data used by the application to identify this entry
- *                                     'tstamp' => 12345, // time()
+ *                                     'tstamp' => 12345, // $GLOBALS['EXEC_TIME']
  *                             ),
  *                     'another id' => ...
  *
@@ -325,7 +325,7 @@ class t3lib_modSettings {
                                                'desc' => (string)$data['desc'],
                                                'data' => $storageData,
                                                'user' => NULL,
-                                               'tstamp' => time(),
+                                               'tstamp' => $GLOBALS['EXEC_TIME'],
                                        );
                $storageArr = $this->processEntry($storageArr);
 
@@ -549,7 +549,7 @@ class t3lib_modSettings {
 #TODO need to add parameters
                if ($useOwnForm AND trim($code)) {
                        $code = '
-               <form action="'.t3lib_div::getIndpEnv('SCRIPT_NAME').'" method="POST" name="'.$this->formName.'" enctype="'.$TYPO3_CONF_VARS['SYS']['form_enctype'].'">'.$code.'</form>';
+               <form action="' . t3lib_div::getIndpEnv('SCRIPT_NAME') . '" method="post" name="' . $this->formName . '" enctype="' . $TYPO3_CONF_VARS['SYS']['form_enctype'] . '">' . $code . '</form>';
                }
 
                return $code;