mirror of
https://github.com/Anvilcraft/jensmemes
synced 2024-11-13 21:41:27 +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');
|
||||
$home_dir = "images/" . md5($tokencookie) . "/";
|
||||
if ($home_dir == "images//") {
|
||||
$home_dir = "images/" . md5($_POST['token']) . "/";
|
||||
if(empty($tokencookie)) {
|
||||
$tokencookie = $_POST['token'];
|
||||
}
|
||||
$home_dir = "images/" . md5($tokencookie) . "/";
|
||||
mkdir($home_dir);
|
||||
|
||||
$resultMaxUpl = mysqli_query($con, "select * from token WHERE token='$tokencookie' OR token='$tokenpost'") or die('Error In Session');
|
||||
|
|
Loading…
Reference in a new issue