Commit Graph

226 Commits

Author SHA1 Message Date
Hani Rouatbi
9a14d9079a Update finfo_close PHP version check to 8.1
Adjusted the conditional to only call finfo_close for PHP versions below 8.1, reflecting that finfo_close has no effect since PHP 8.1 instead of 8.0.
2025-12-07 13:05:51 +01:00
Hani Rouatbi
e47cf056a0 Add PHP 8.5 support
Updated calls to resource cleanup functions (curl_close, imagedestroy, finfo_close) to only execute for PHP versions below 8.0, as these functions have no effect in PHP 8+. Improved error handling and connection management in mysqli and sqlite drivers, and added missing DOCTYPE in error output for better HTML compliance.
2025-12-06 15:51:41 +01:00
H.Rouatbi
3cdfa9ce5a Miscellaneous changes
* PHP code style fixes
* Updated database schema for upgrade
2024-10-07 17:33:07 +01:00
H.Rouatbi
552423c700 Refactor user class to store user information internally 2024-10-07 17:02:06 +01:00
H.Rouatbi
291604dbd9 Merge branch 'master' into next-version 2024-09-20 14:20:47 +01:00
H.Rouatbi
c24db5c081 Add group max storage 2024-09-20 12:41:33 +01:00
H.Rouatbi
1dd38c4be2 Add group max storage 2024-09-18 16:27:21 +01:00
H.Rouatbi
bdc0057a01 Merge pull request #227 from RouatbiH/custom-admin
Custom admin
2024-09-07 18:10:34 +01:00
Hani Rouatbi
ea1b3ff0dc fixes 2023-09-02 12:09:15 +01:00
Hani Rouatbi
795fcbfc1e Revert "fixes"
This reverts commit b295633136.
2023-09-02 11:59:20 +01:00
Hani Rouatbi
3a80025218 Add more mime types 2023-09-01 18:04:07 +01:00
Hani Rouatbi
965df8b76e fix #224 2023-09-01 17:33:13 +01:00
Hani Rouatbi
b295633136 fixes 2023-09-01 14:16:25 +01:00
Hani Rouatbi
e6f46e88ce fix for rename htaccess.txt 2023-08-13 17:42:11 +01:00
Hani Rouatbi
d0bee08e8a Update j_plugins.php
Delete the file after closing the ZipArchive
2023-07-01 18:24:08 +01:00
Hani Rouatbi
2baa15bae7 Update phpass.php 2023-07-01 12:32:53 +01:00
Hani Rouatbi
ed0badfae3 Update watermark.php 2023-06-11 19:39:03 +01:00
Hani Rouatbi
06b6dd6c14 Update functions.php
Mistake in condition of delete_olang
2023-03-22 23:00:16 +01:00
Hani Rouatbi
5a36380dda Update functions.php
just to prevent passing null to parameter
2023-01-29 10:16:21 +01:00
Hani Rouatbi
c3673d3bcf Add custom admin feature 2023-01-17 12:58:25 +01:00
Hani Rouatbi
0c0ab4b9cb Turns mysqli reporting off
Turns mysqli reporting off to be compatible with PHP versions >= 8.1
2022-12-03 16:41:57 +01:00
Hani Rouatbi
2c23cf4ced Updated send_mail to be compatible with php 8.x 2022-12-03 11:05:53 +01:00
Hani Rouatbi
ac03d83e60 Fixes for messages and reports 2022-11-16 21:39:04 +01:00
Hani Rouatbi
6caff5bd5c Don't update system settings
Don't update system settings because it will update values with htmlspecialchars
Because when you update settings it will convert special characters to HTML entities then it will escapes special chars
For example : after updating all settings new_version will be affected and when you go to check for updates it will detects wrong serialized format
2022-11-05 13:47:09 +01:00
Hani Rouatbi
ec3fa1bf1c Fix for show files since time
I made it logical
2022-10-29 19:04:17 +01:00
Hani Rouatbi
aed7eb80c0 Update r_repair.php (Remove Extra Parameter)
kleeja_check_form_key_get have just one argument
2022-10-15 11:02:55 +01:00
Hani Rouatbi
fa51e9ca15 Update thumbs.php
Check by image type instead checking with extension
2022-08-31 14:23:32 +01:00
Hani Rouatbi
66b2b5d0f0 Update usr.php 2022-08-28 18:42:49 +01:00
Hani Rouatbi
33cfabb86e Update usr.php
Fixed when user deleted will make auto logout and fixed already defined constants.
2022-08-28 17:43:42 +01:00
Hani Rouatbi
59ce530215 Update others.php
guestsectoupload not found in group data we have just usersectoupload for all groups.
2022-08-28 17:40:41 +01:00
Hani Rouatbi
0f21221dae Update defaultUploader.php
guestsectoupload not found in group data we have just usersectoupload for all groups.
2022-08-28 17:39:02 +01:00
Hani Rouatbi
855486d873 Merge branch 'next-version' into master 2022-08-27 20:14:12 +01:00
Hani Rouatbi
835eca7363 Update r_repair.php 2022-08-27 11:00:44 +01:00
Hani Rouatbi
cc2731e9f5 Update p_check_update.php 2022-08-26 10:11:31 +01:00
Hani Rouatbi
889fc59ddb Back g_users.php 2022-08-26 09:35:08 +01:00
Hani Rouatbi
ab5c2f4477 Back c_files.php 2022-08-26 09:34:46 +01:00
Hani Rouatbi
b5a7b7465f Update g_users.php 2022-08-25 19:46:03 +01:00
Hani Rouatbi
a9eb6aa820 Update FetchFile.php 2022-08-25 18:42:16 +01:00
Hani Rouatbi
23e39fd0a3 Update FetchFile.php 2022-08-25 17:50:33 +01:00
Hani Rouatbi
7fd382e50b Update k_ban.php
reference not needed for key
2022-08-25 00:02:42 +01:00
Hani Rouatbi
97fe37081f Update style.php
Uninitialized string offset 0 when $var2 is empty
2022-08-24 23:48:24 +01:00
Hani Rouatbi
0bf91fb4a9 Update c_files.php 2022-08-24 23:37:05 +01:00
Hani Rouatbi
b823636310 Update defaultUploader.php
only variables should be passed by reference
2022-08-24 23:04:31 +01:00
Hani Rouatbi
ae8edf5209 Fixes in functions.php 2022-08-24 20:56:41 +01:00
Hani Rouatbi
9350823dff ignore conversion of false to array 2022-08-24 12:44:41 +01:00
Mitan Omar
5f1f92194a if there is an error in config file, then make sure that there is an install folder 2022-08-24 03:34:57 +02:00
Mitan Omar
bf288770a1 ignore conversion of false to array 2022-08-24 00:18:57 +02:00
Mitan Omar
3dbb60870b just to ignore updating other plugins 2022-08-23 21:13:49 +02:00
Mitan Omar
9404f7a1b6 use false, and remove @ is not muting the error any more 2022-08-23 21:10:28 +02:00
Hani Rouatbi
e9f0171ce8 Update functions_display.php 2022-08-22 20:38:46 +01:00