Prevented Hash-Change during Session

pull/1/head
Philipp Dunkel 15 years ago
parent 831518ab8c
commit 07320a047a

@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
$_SESSION['_config']['secrethash'] = md5(date("YmdHis").rand(0, intval(date("u"))));
if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['secrethash'] = md5(date("YmdHis").rand(0, intval(date("u"))));
?>
<H3><?=_("Contact Us")?></H3>

Loading…
Cancel
Save