diff --git a/app/Http/Controllers/SelfUpdateController.php b/app/Http/Controllers/SelfUpdateController.php index bd0b74df60..6c53ead3b9 100644 --- a/app/Http/Controllers/SelfUpdateController.php +++ b/app/Http/Controllers/SelfUpdateController.php @@ -14,6 +14,7 @@ namespace App\Http\Controllers; use App\Exceptions\FilePermissionsFailure; use App\Models\Client; use App\Utils\Ninja; +use App\Utils\Traits\AppSetup; use App\Utils\Traits\ClientGroupSettingsSaver; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Support\Facades\Artisan; @@ -23,6 +24,7 @@ class SelfUpdateController extends BaseController { use DispatchesJobs; use ClientGroupSettingsSaver; + use AppSetup; private array $purge_file_list = [ 'bootstrap/cache/compiled.php', @@ -161,6 +163,8 @@ class SelfUpdateController extends BaseController Artisan::call('migrate', ['--force' => true]); Artisan::call('optimize'); + $this->buildCache(true); + nlog("Called Artisan commands"); return response()->json(['message' => 'Update completed'], 200); diff --git a/app/Http/Controllers/SubdomainController.php b/app/Http/Controllers/SubdomainController.php index af3be6062a..6ad54f0075 100644 --- a/app/Http/Controllers/SubdomainController.php +++ b/app/Http/Controllers/SubdomainController.php @@ -34,6 +34,7 @@ class SubdomainController extends BaseController 'stage', 'html', 'lb', + 'shopify', ]; public function __construct() diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index c4fbd6aeac..da13435fa8 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -4582,6 +4582,7 @@ $LANG = array( 'auto_archive_cancelled_invoices_help' => 'Automatically archive invoices when they are cancelled.', 'alternate_pdf_viewer' => 'Alternate PDF Viewer', 'alternate_pdf_viewer_help' => 'Improve scrolling over the PDF preview [BETA]', + 'currency_cayman_island_dollar' => 'Cayman Island Dollar', );