diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 87ad29b27..9caa2f03a 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -7,6 +7,9 @@
## Fixed bugs
* _ (#)
-->
+# Pb2.4Bfx1
+## Fixed bugs
+* Some debug function were still in the image plugin
# Pb2.4Bfx0
> USOC now supports PHP8. Through a backwards compatibity script it still supports PHP7.4.
> The PHP7.4 support ends in the summer of 2020
@@ -17,6 +20,8 @@
* Added a beautiful installer
* Removed install.html
* Added a hint in the admin area if the install folder still exists
+
+![](https://i.imgur.com/SVr1Apj.png)
* ID selection on admin/pages/useredit.php now only allows range from lowest id to highest id
* Added return declarations to functions
* Added a backwards compatibility script
@@ -99,7 +104,7 @@
* You can't edit yourself now
* Shows now an error if the user doesn't exists
* 2fa
- * Code input is now styled and in `login .php`
+ * Code input is now styled and in `login.php`
* You can now cancel code input
* You can not login with a other account if you haven't finished login yet
* Chenged order of items on `about.php`
diff --git a/docs/README.md b/docs/README.md
index 30d836325..2d647cfd3 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -15,7 +15,7 @@
Useful simple open-source CMS
-![](https://img.shields.io/badge/Version%20in%20developement%20in%20this%20branch-Pb2.4Bfx0-blue)
+![](https://img.shields.io/badge/Version%20in%20developement%20in%20this%20branch-Pb2.5Bfx0-blue)
diff --git a/docs/SECURITY.md b/docs/SECURITY.md
index 86aad6dac..c458ab0a9 100644
--- a/docs/SECURITY.md
+++ b/docs/SECURITY.md
@@ -9,7 +9,7 @@ Old pre-alpha and pre-beta versions aren't supported with bugfixes.
### Pre-Beta
| Version | Supported|Newest Version|
| ------- | ---------|--------------|
-| Pb2.4 | :x: | Pb2.4Bfx0 |
+| Pb2.4 | :x: | Pb2.4Bfx1 |
| Pb2.3 | :x: | Pb2.3Bfx0 |
| Pb2.2 | :x: | Pb2.2Bfx0 |
| Pb2.1 | :x: | Pb2.1Bfx0 |
diff --git a/includes/class.inc.php b/includes/class.inc.php
index 6a620f97f..fdd1fbfa2 100644
--- a/includes/class.inc.php
+++ b/includes/class.inc.php
@@ -41,7 +41,7 @@ class U{
* @since Pb2.4Bfx0
* @var int
*/
- public int $versionCode = 20240900;
+ public int $versionCode = 20240901;
/**
* True when USOC is modded
* @since Pb2.0Bfx0RCA
diff --git a/plugins/images/index.php b/plugins/images/index.php
index cb32424e7..fdff363ef 100644
--- a/plugins/images/index.php
+++ b/plugins/images/index.php
@@ -25,18 +25,18 @@ function getLangImage($string){
}
}, "DeleteHandler" => function (int $Id){},
"ShowHandler" => function ($code, $data){
- // $fileExtension = strtolower(pathinfo($data["Name"], PATHINFO_EXTENSION));
- // $width = (isset($_GET["width"]) ? $_GET["width"]."px" : "");
- // if($fileExtension == "jpg"){
- // $code = "";
- // }elseif($fileExtension == "png"){
- // $code = "";
- // }elseif($fileExtension == "jpeg"){
- // $code = "";
- // }elseif($fileExtension == "gif"){
- // $code = "";
- // }
- header("Content-Type: image/jpg");
+ $fileExtension = strtolower(pathinfo($data["Name"], PATHINFO_EXTENSION));
+ $width = (isset($_GET["width"]) ? $_GET["width"]."px" : "");
+ if($fileExtension == "jpg"){
+ $code = "";
+ }elseif($fileExtension == "png"){
+ $code = "";
+ }elseif($fileExtension == "jpeg"){
+ $code = "";
+ }elseif($fileExtension == "gif"){
+ $code = "";
+ }
+ //header("Content-Type: image/jpg");
return $code;
}, "HTML" => False, "EditHandler" => function (int $Id, $data){}, "CreateNewContent" => True, "ContentCreateHandler" => "Upload", "ContentEditHandler" => "Upload"];
?>
\ No newline at end of file