Skip to content

Commit 2843be7

Browse files
authored
Update filemanager.php
1 parent 10aa6a6 commit 2843be7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

filemanager.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* The Kinsmen File Manager v2.2.1
4+
* The Kinsmen File Manager v2.2.2
55
*
66
* A comprehensive, modern file manager with cPanel styling and all essential features:
77
* - File Tree Navigation
@@ -11,17 +11,16 @@
1111
* - Copy/Move operations
1212
* - Compression (zip, tar, gzip)
1313
* - Extraction (zip, tar, gzip)
14-
* - Deletion confirmation
14+
* - Deletion confirmations
1515
* - Rename operations
1616
* - Permission management
1717
* - Drag and drop support
1818
* - Multi-select operations
1919
* - Sorting and filtering
2020
*/
2121

22-
$username = ""; // username for dir listing
23-
$root_path = ""; // root dir
24-
22+
$username = "joe"; // username
23+
$root_path = "/home/joe"; // root path
2524

2625
// Configuration
2726
$config = [
@@ -2870,7 +2869,7 @@ function showAlert(title, message) {
28702869
position: "right",
28712870
stopOnFocus: true,
28722871
style: {
2873-
background: title === 'Success' ? "#28a745" : "#dc3545",
2872+
background: title === 'Error' ? "#dc3545" : "#28a745",
28742873
width: "300px",
28752874
marginRight: "20px",
28762875
},
@@ -3316,7 +3315,7 @@ function uploadFiles(files) {
33163315
const response = JSON.parse(xhr.responseText);
33173316
if (response.status === 'success' || response.status === 'partial') {
33183317
loadFileList();
3319-
showAlert('Upload Complete', response.message);
3318+
showAlert('Success', response.message);
33203319
} else {
33213320
showAlert('Error', response.message || 'Unknown error occurred during upload');
33223321
}

0 commit comments

Comments
 (0)