File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
resources/views/components/config Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ use Illuminate \Support \Str ;
4
+
3
5
return [
4
6
5
7
'backup ' => [
109
111
/*
110
112
* The filename prefix used for the backup zip file.
111
113
*/
112
- 'filename_prefix ' => ' ' ,
114
+ 'filename_prefix ' => Str:: random ( 16 ). ' - ' ,
113
115
114
116
/*
115
117
* The disk names on which the backups will be stored.
Original file line number Diff line number Diff line change 32
32
if ($handle = opendir (' backups/updater-backups' )) {
33
33
while (false !== ($entry = readdir ($handle ))) {
34
34
if ($entry != " ." && $entry != " .." ) {
35
- echo ' <div class="button-entrance"><a class="buttondm button-hover icon-hover" style="color:#ffffff; background-color:#000;" href="' . url (' admin/backups' ) . ' /?' . $entry . ' "><i style="color: " class="icon hvr-icon fa fa-download"></i> ' ; print_r ($entry ); echo ' </a></div><br>' ;
35
+ $entrys = substr ($entry , 17 );
36
+ echo ' <div class="button-entrance"><a class="buttondm button-hover icon-hover" style="color:#ffffff; background-color:#000;" href="' . url (' admin/backups' ) . ' /?' . $entry . ' "><i style="color: " class="icon hvr-icon fa fa-download"></i> ' ; print_r ($entrys ); echo ' </a></div><br>' ;
36
37
}}} ? >
37
38
</div >
38
39
You can’t perform that action at this time.
0 commit comments