mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +00:00
Update other old references
This commit is contained in:
@@ -223,7 +223,7 @@ class Company extends Model implements HasMedia
|
||||
'fiscal_year' => '1-12',
|
||||
'carbon_date_format' => 'Y/m/d',
|
||||
'moment_date_format' => 'YYYY/MM/DD',
|
||||
'notification_email' => 'noreply@crater.in',
|
||||
'notification_email' => 'noreply@invoiceshelf.com',
|
||||
'notify_invoice_viewed' => 'NO',
|
||||
'notify_estimate_viewed' => 'NO',
|
||||
'tax_per_item' => 'NO',
|
||||
|
||||
@@ -119,11 +119,11 @@ class FileDisk extends Model
|
||||
if ($disk == 'dropbox') {
|
||||
$root = $credentials['root'].'/';
|
||||
}
|
||||
\Storage::disk($prefix.$disk)->put($root.'crater_temp.text', 'Check Credentials');
|
||||
\Storage::disk($prefix.$disk)->put($root.'invoiceshelf_temp.text', 'Check Credentials');
|
||||
|
||||
if (\Storage::disk($prefix.$disk)->exists($root.'crater_temp.text')) {
|
||||
if (\Storage::disk($prefix.$disk)->exists($root.'invoiceshelf_temp.text')) {
|
||||
$exists = true;
|
||||
\Storage::disk($prefix.$disk)->delete($root.'crater_temp.text');
|
||||
\Storage::disk($prefix.$disk)->delete($root.'invoiceshelf_temp.text');
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$exists = false;
|
||||
|
||||
Reference in New Issue
Block a user