File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -40,25 +40,25 @@ File manager developed with AngularJS and Bootstrap by [Jonas Sciangula Street](
40
40
"name" : " joomla" ,
41
41
"rights" : " drwxr-xr-x" ,
42
42
"size" : " 4096" ,
43
- "time " : " 16:07 " ,
43
+ "date " : " 2015-04-29 09:04:24 " ,
44
44
"type" : " dir"
45
45
}, {
46
46
"name" : " magento" ,
47
47
"rights" : " drwxr-xr-x" ,
48
48
"size" : " 4096" ,
49
- "time " : " 17:42" ,
49
+ "date " : " 17:42" ,
50
50
"type" : " dir"
51
51
}, {
52
52
"name" : " .htaccess" ,
53
53
"rights" : " -rw-r--r--" ,
54
54
"size" : " 0" ,
55
- "time " : " 17:42 " ,
55
+ "date " : " 2014-01-03 10:12:09 " ,
56
56
"type" : " file"
57
57
}, {
58
58
"name" : " index.php" ,
59
59
"rights" : " -rw-r--r--" ,
60
60
"size" : " 0" ,
61
- "time " : " 17:41 " ,
61
+ "date " : " 2013-11-01 11:44:13 " ,
62
62
"type" : " file"
63
63
}
64
64
]}
@@ -126,12 +126,12 @@ File manager developed with AngularJS and Bootstrap by [Jonas Sciangula Street](
126
126
--------------------
127
127
128
128
#### Edit file
129
- URL: $config.removeUrl , Method: POST
129
+ URL: $config.editUrl , Method: POST
130
130
131
131
##### JSON Request content
132
132
``` json
133
133
{ "params" : {
134
- "mode" : " edit " ,
134
+ "mode" : " savefile " ,
135
135
"content" : " <?php echo random(); ?>" ,
136
136
"path" : " /public_html/index.php" ,
137
137
}}
Original file line number Diff line number Diff line change 8
8
path : path || [ ] ,
9
9
type : 'file' ,
10
10
size : 0 ,
11
- date : new Date ( model && model . date || null ) ,
11
+ date : new Date ( model . date && Date . parse ( model . date . replace ( '-' , '/' , 'g' ) ) )
12
12
perms : new Chmod ( model && model . rights ) ,
13
13
content : '' ,
14
14
recursive : false ,
You can’t perform that action at this time.
0 commit comments