From 446245158ea090a48e1f722847408a2cb10ff75e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maxemilian=20Gr=C3=B6nblom?=
Date: Tue, 19 May 2015 17:54:09 +0300
Subject: [PATCH] Updated some code based of feedback
fixed some small stuff
---
assign_id.php | 1 -
index.php | 2 +-
install/install.php | 8 +-------
ladda.php | 1 -
like.php | 1 -
login.php | 2 +-
require/conf/config.ini | 11 -----------
require/confinst.php | 16 +++++++---------
require/database.php | 11 ++++++-----
require/parse.php | 4 ----
signin.php | 1 -
signup.php | 1 -
upload.php | 5 +++--
uploads/img625E | Bin 0 -> 557548 bytes
uploads/img91D9 | Bin 0 -> 16435 bytes
uploads/imgBE51 | Bin 0 -> 847971 bytes
user_panel.php | 1 -
17 files changed, 19 insertions(+), 46 deletions(-)
delete mode 100644 require/conf/config.ini
delete mode 100644 require/parse.php
create mode 100644 uploads/img625E
create mode 100644 uploads/img91D9
create mode 100644 uploads/imgBE51
diff --git a/assign_id.php b/assign_id.php
index 9d7b7ab..f21c407 100644
--- a/assign_id.php
+++ b/assign_id.php
@@ -1,5 +1,4 @@
You have an error with the database! If this is the first time starting this webapp run install.php
';
+ unset($_SESSION["db-error"]);
}
if (isset($_SESSION["installed"])) {
echo "IMPORTANT!!!! INSTALLATION DONE! PLEASE REMOVE THE INSTALL FOLDER!!!";
diff --git a/install/install.php b/install/install.php
index 74d4066..655a321 100644
--- a/install/install.php
+++ b/install/install.php
@@ -19,18 +19,12 @@
Installation
Back to homepage
-IMPORTANT! Add this to your htaccess file for:
- < Files *.inc>
- Order deny,allow
- Deny from all
- </Files>
';
if (isset($_SESSION["dberror"])) {
echo "There was an error creating the database:"; print_r($_SESSION["dberror"]); echo "";
}
?>
-
next go edit the config.ini file in require/conf/ with your database info!
+ next go edit the configinst.php file in require/with your database info!