pull/52/head
Daniel Supernault 2018-05-31 22:07:29 -06:00
rodzic 82f3c50766
commit 8498779430
4 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -48,6 +48,12 @@ class CreateAvatar implements ShouldQueue
$icon = $identicon->getIcon($hash);
try {
$baseDir = storage_path('app/public/avatars');
if(!is_dir($baseDir)) {
mkdir($baseDir);
}
$prefix = $profile->id;
$padded = str_pad($prefix, 12, 0, STR_PAD_LEFT);
$parts = str_split($padded, 3);

Wyświetl plik

@ -0,0 +1,3 @@
*
!.gitignore
!default.png

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 212 KiB

2
storage/debugbar/.gitignore vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
*
!.gitignore