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 11<?php
22
3+ use Illuminate \Support \Str ;
4+
35return [
46
57 'backup ' => [
109111 /*
110112 * The filename prefix used for the backup zip file.
111113 */
112- 'filename_prefix ' => ' ' ,
114+ 'filename_prefix ' => Str:: random ( 16 ). ' - ' ,
113115
114116 /*
115117 * The disk names on which the backups will be stored.
Original file line number Diff line number Diff line change 3232 if ($handle = opendir (' backups/updater-backups' )) {
3333 while (false !== ($entry = readdir ($handle ))) {
3434 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>' ;
3637 }}} ? >
3738</div >
3839
You can’t perform that action at this time.
0 commit comments