This commit is contained in:
@@ -204,7 +204,7 @@ class StorageController extends Controller
|
||||
if ($this->default !== 'database') {
|
||||
$this->setFileSystem();
|
||||
Storage::disk($this->default)->put($filename, $data);
|
||||
$storagePath = Storage::disk($this->default)->getDriver()->getAdapter()->getPathPrefix().$filename;
|
||||
$storagePath = Storage::disk($this->default)->path($filename);
|
||||
if (mime(\File::mimeType($storagePath)) != 'image' || mime(\File::extension($storagePath)) != 'image') {
|
||||
chmod($storagePath, 1204);
|
||||
}
|
||||
|
@@ -186,7 +186,7 @@ class PhpMailController extends Controller
|
||||
'port' => $mail->sending_port,
|
||||
'security' => $mail->sending_encryption,
|
||||
'username' => $mail->email_address,
|
||||
'password' => $mail->getRawOriginal()['password'],
|
||||
'password' => $mail->password,
|
||||
];
|
||||
if (!$this->commonMailer->setSmtpDriver($config)) {
|
||||
\Log::info('Invaid configuration :- '.$config);
|
||||
|
@@ -51,13 +51,13 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Date</td>
|
||||
@if($table_datas[1]->open)
|
||||
@if(array_key_exists(1, $table_datas) && $table_datas[1]->open)
|
||||
<td>Created</td>
|
||||
@endif
|
||||
@if($table_datas[1]->closed)
|
||||
@if(array_key_exists(1, $table_datas) && $table_datas[1]->closed)
|
||||
<td>Closed</td>
|
||||
@endif
|
||||
@if($table_datas[1]->reopened)
|
||||
@if(array_key_exists(1, $table_datas) && $table_datas[1]->reopened)
|
||||
<td>Reopened</td>
|
||||
@endif
|
||||
</tr>
|
||||
@@ -91,9 +91,11 @@
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
@if(array_key_exists(1, $table_datas))
|
||||
<td>
|
||||
<span style="color:#F7CF07;">TOTAL IN PROGRESS</span> : {!! $table_datas[1]->inprogress !!}
|
||||
</td>
|
||||
@endif
|
||||
<td>
|
||||
@if($table_data->open)
|
||||
<span style="color:blue;">TOTAL CREATED</span> : {!! $table_open !!}
|
||||
|
Reference in New Issue
Block a user