Compare commits
3 Commits
970258d00e
...
eafdd71505
Author | SHA1 | Date | |
---|---|---|---|
eafdd71505 | |||
00167b02d5 | |||
81d1bc21fe |
@ -20,13 +20,15 @@ return [
|
|||||||
$arr = [
|
$arr = [
|
||||||
'host' => 'db',
|
'host' => 'db',
|
||||||
'name' => $_ENV['MYSQL_DATABASE'],
|
'name' => $_ENV['MYSQL_DATABASE'],
|
||||||
'username' => $_ENV['MYSQL_USER'],
|
'user' => [
|
||||||
'password' => $_ENV['MYSQL_PASSWORD']
|
'name' => $_ENV['MYSQL_USER'],
|
||||||
|
'password' => $_ENV['MYSQL_PASSWORD']
|
||||||
|
]
|
||||||
];
|
];
|
||||||
if (isset($_ENV['MYSQL_PORT'])) {
|
if (isset($_ENV['MYSQL_PORT'])) {
|
||||||
$arr['port'] = $_ENV['MYSQL_PORT'];
|
$arr['port'] = $_ENV['MYSQL_PORT'];
|
||||||
}
|
}
|
||||||
return (object) $arr;
|
return json_decode(json_encode($arr));
|
||||||
},
|
},
|
||||||
'max_update_days' => 7
|
'max_update_days' => 7
|
||||||
];
|
];
|
||||||
|
@ -22,6 +22,6 @@ return [
|
|||||||
}
|
}
|
||||||
$dsn []= "dbname={$database->name}";
|
$dsn []= "dbname={$database->name}";
|
||||||
$dsn = implode(';', $dsn);
|
$dsn = implode(';', $dsn);
|
||||||
return new PDO($dsn, $database->username, $database->password);
|
return new PDO($dsn, $database->user->name, $database->user->password);
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
BIN
ui/public/images/icons8-at-sign-gradient-16.png
Normal file
BIN
ui/public/images/icons8-at-sign-gradient-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 513 B |
BIN
ui/public/images/icons8-at-sign-gradient-32.png
Normal file
BIN
ui/public/images/icons8-at-sign-gradient-32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
ui/public/images/icons8-at-sign-gradient-96.png
Normal file
BIN
ui/public/images/icons8-at-sign-gradient-96.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
3
ui/public/robots.txt
Normal file
3
ui/public/robots.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
||||||
|
Disallow: /cgi-bin/
|
@ -27,11 +27,11 @@
|
|||||||
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).html(this.name)
|
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).html(this.name)
|
||||||
)
|
)
|
||||||
register.append(
|
register.append(
|
||||||
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).append(
|
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).attr('title', 'Show').append(
|
||||||
$('<i></i>').addClass('ui big green check circle icon')
|
$('<i></i>').addClass('ui big green check circle icon')
|
||||||
)
|
)
|
||||||
).append(
|
).append(
|
||||||
$('<button></button>').addClass('ui mini circular red icon button').append(
|
$('<button></button>').addClass('ui mini circular red icon button').attr('title', 'Remove').append(
|
||||||
$('<i></i>').addClass('remove icon')
|
$('<i></i>').addClass('remove icon')
|
||||||
).click(e => {
|
).click(e => {
|
||||||
this.unregister($(e.currentTarget))
|
this.unregister($(e.currentTarget))
|
||||||
@ -163,4 +163,4 @@
|
|||||||
mailboxes.setup()
|
mailboxes.setup()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
@yield('page_title')
|
@yield('page_title')
|
||||||
@endif
|
@endif
|
||||||
</title>
|
</title>
|
||||||
|
<link type="image/png" sizes="32x32" rel="icon" href="{{$urls->base}}/images/icons8-at-sign-gradient-32.png">
|
||||||
@include('layout.head.styles')
|
@include('layout.head.styles')
|
||||||
</head>
|
</head>
|
||||||
|
Reference in New Issue
Block a user