mirror of
https://github.com/psenough/pouet.net.git
synced 2025-01-17 05:08:24 +01:00
session_is_registered is deprecated
This commit is contained in:
parent
033cb3704c
commit
a245103caa
@ -6,7 +6,7 @@
|
||||
<tr>
|
||||
<th bgcolor="#224488">what do you want to do ?</th>
|
||||
</tr>
|
||||
<? if(session_is_registered("SESSION")): ?>
|
||||
<?php if(isset($_SESSION['SESSION'])): ?>
|
||||
<tr>
|
||||
<td bgcolor="#557799">
|
||||
<b> - <a href="submitprod.php">add a prod</a></b><br />
|
||||
@ -146,7 +146,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? if(!session_is_registered("SESSION")): ?>
|
||||
<?php if(isset($_SESSION['SESSION'])): ?>
|
||||
<form action="login.php" method="post">
|
||||
<tr><th>login to add more stuff</th></tr>
|
||||
<tr bgcolor="#446688">
|
||||
|
Loading…
x
Reference in New Issue
Block a user