mirror of
https://github.com/Anvilcraft/jensmemes
synced 2024-11-12 04:52:24 +01:00
Fixed bug
This commit is contained in:
parent
33e7df5dff
commit
0c4000cf7c
1 changed files with 4 additions and 4 deletions
|
@ -83,10 +83,10 @@
|
|||
//UPLOAD
|
||||
if (isset($_POST['submit'])) {
|
||||
include('uploadOK.php');
|
||||
if(empty($tokencookie)) {
|
||||
$tokencookie = $_POST['token'];
|
||||
}
|
||||
$home_dir = "images/" . md5($tokencookie) . "/";
|
||||
if ($home_dir == "images//") {
|
||||
$home_dir = "images/" . md5($_POST['token']) . "/";
|
||||
}
|
||||
mkdir($home_dir);
|
||||
|
||||
$resultMaxUpl = mysqli_query($con, "select * from token WHERE token='$tokencookie' OR token='$tokenpost'") or die('Error In Session');
|
||||
|
@ -154,4 +154,4 @@
|
|||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue