diff --git a/VERSION.txt b/VERSION.txt index 91b96ac1649b..ad426961fb65 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.8.40 \ No newline at end of file +5.8.41 \ No newline at end of file diff --git a/app/Console/Commands/ReactBuilder.php b/app/Console/Commands/ReactBuilder.php index 0bc9cc0f0587..f5e7838d51e8 100644 --- a/app/Console/Commands/ReactBuilder.php +++ b/app/Console/Commands/ReactBuilder.php @@ -42,35 +42,35 @@ class ReactBuilder extends Command /** * Execute the console command. * - * @return mixed + * @return void */ public function handle() { - $includes = ''; + // $includes = ''; - $directoryIterator = false; + // $directoryIterator = false; - try { - $directoryIterator = new \RecursiveDirectoryIterator(public_path('react/v'.config('ninja.app_version').'/'), \RecursiveDirectoryIterator::SKIP_DOTS); - } catch (\Exception $e) { - $this->error('React files not found'); - return; - } + // try { + // $directoryIterator = new \RecursiveDirectoryIterator(public_path('react/v'.config('ninja.app_version').'/'), \RecursiveDirectoryIterator::SKIP_DOTS); + // } catch (\Exception $e) { + // $this->error('React files not found'); + // return; + // } - foreach (new \RecursiveIteratorIterator($directoryIterator) as $file) { - if ($file->getExtension() == 'js') { - if (str_contains($file->getFileName(), 'index-')) { - $includes .= ''."\n"; - } else { - $includes .= ''."\n"; - } - } + // foreach (new \RecursiveIteratorIterator($directoryIterator) as $file) { + // if ($file->getExtension() == 'js') { + // if (str_contains($file->getFileName(), 'index-')) { + // $includes .= ''."\n"; + // } else { + // $includes .= ''."\n"; + // } + // } - if (str_contains($file->getFileName(), '.css')) { - $includes .= ''."\n"; - } - } + // if (str_contains($file->getFileName(), '.css')) { + // $includes .= ''."\n"; + // } + // } - file_put_contents(resource_path('views/react/head.blade.php'), $includes); + // file_put_contents(resource_path('views/react/head.blade.php'), $includes); } } diff --git a/config/ninja.php b/config/ninja.php index 9794f119a8c6..1f8cfb1c6faf 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -17,8 +17,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => env('APP_VERSION', '5.8.40'), - 'app_tag' => env('APP_TAG', '5.8.40'), + 'app_version' => env('APP_VERSION', '5.8.41'), + 'app_tag' => env('APP_TAG', '5.8.41'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),