����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 18.191.125.73 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/www/common/Core/Manifest/ |
Upload File : |
<?php namespace Common\Core\Manifest; use Common\Core\AppUrl; use Common\Settings\Settings; class BuildManifestFile { /** * @var Settings */ private $settings; /** * @param Settings $settings */ public function __construct(Settings $settings) { $this->settings = $settings; } public function execute() { $replacements = [ 'DUMMY_NAME' => config('app.name'), 'DUMMY_SHORT_NAME' => config('app.name'), 'DUMMY_THEME_COLOR' => config('common.themes.light.--be-accent-default'), 'DUMMY_BACKGROUND_COLOR' => config('common.themes.light.--be-background'), 'DUMMY_START_URL' => app(AppUrl::class)->htmlBaseUri, ]; @file_put_contents( public_path('client/manifest.json'), str_replace( array_keys($replacements), $replacements, file_get_contents(__DIR__.'/manifest-example.json') ) ); } }