diff --git a/about.php b/about.php index 65e180f..6ff456b 100644 --- a/about.php +++ b/about.php @@ -2,14 +2,14 @@ - +
@@ -53,7 +53,7 @@

To mrHDash...

- + \ No newline at end of file diff --git a/account.php b/account.php index c970a0f..342ea62 100644 --- a/account.php +++ b/account.php @@ -2,13 +2,13 @@ - + - + \ No newline at end of file diff --git a/app/account/account.php b/app/account/account.php index 50d111e..6ffafad 100644 --- a/app/account/account.php +++ b/app/account/account.php @@ -1,7 +1,6 @@ diff --git a/app/image/upload_image.php b/app/image/upload_image.php index 7d1bfe8..8c7d19c 100644 --- a/app/image/upload_image.php +++ b/app/image/upload_image.php @@ -8,8 +8,8 @@ */ session_start(); // Include server connection -include "../server/conn.php"; -include "../app.php"; +include dirname(__DIR__)."/server/conn.php"; +include dirname(__DIR__)."/app.php"; use App\Make; diff --git a/app/server/conn.php b/app/server/conn.php index e2fd8c8..c764677 100644 --- a/app/server/conn.php +++ b/app/server/conn.php @@ -9,11 +9,6 @@ $conn_username = "uwu"; $conn_password = "fennec621"; $conn_database = "gallery"; -/* - echo $_SERVER['DOCUMENT_ROOT'].dirname($_SERVER['SCRIPT_NAME']); - echo $_SERVER['PHP_SELF']; -*/ - $conn = mysqli_connect($conn_ip, $conn_username, $conn_password , $conn_database); if ($conn->connect_error) { ?> diff --git a/app/server/secrete.php b/app/server/secrete.php index 06c036b..029c3ea 100644 --- a/app/server/secrete.php +++ b/app/server/secrete.php @@ -1,16 +1,4 @@ - + \ No newline at end of file diff --git a/search.php b/search.php deleted file mode 100644 index c7875fd..0000000 --- a/search.php +++ /dev/null @@ -1,48 +0,0 @@ - 0) { - // Getting thumbnail - if (file_exists("images/thumbnails/".$image['imagename'])) { - $image_path = "images/thumbnails/".$image['imagename']; - } else { - $image_path = "images/".$image['imagename']; - } - - // Image loading - echo ""; - } -}*/ -?> - - - - - - - - - - - -
-

Where did the search go!

-

Due to how it was implemented originally, it was hard to handle and work with. So I removed it.

-

It'll be coming back, but since it's going to be a lot of work it'll have to be much later.

-
- - - - diff --git a/ui/footer.php b/ui/footer.php index 0814a39..38b7792 100644 --- a/ui/footer.php +++ b/ui/footer.php @@ -1,10 +1,10 @@