Try replacing the code as shown belowHi, tell please why enter purchase code need every day?
Replace all code along the path \vendor\ied3vil\language-switcher\src\ied3vil\LanguageSwitcher\Providers\LanguageSwitcherProvider.php withPHP:<?php namespace ied3vil\LanguageSwitcher\Providers; use ied3vil\LanguageSwitcher\LanguageSwitcher; use Illuminate\Foundation\AliasLoader; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Config; use Illuminate\Support\ServiceProvider; class LanguageSwitcherProvider extends ServiceProvider { public function register() { AliasLoader::getInstance()->alias(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), \ied3vil\LanguageSwitcher\Facades\LanguageSwitcher::class); App::bind(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), function () { return new LanguageSwitcher(); }); } public function boot() { $this->publishes([ __DIR__ . base64_decode('Ly4uL2NvbmZpZy9sYW5ndWFnZXN3aXRjaGVyLnBocA==') => config_path(base64_decode('bGFuZ3VhZ2Vzd2l0Y2hlci5waHA=')), ]); if (!App::routesAreCached()) { require __DIR__ . base64_decode('Ly4uL3JvdXRlcy5waHA='); } if (empty(config(base64_decode('c2V0dGluZ3MucGM='))) && request()->path() != base64_decode('c2l0ZS92ZXJpZmljYXRpb24=')) { redirect(base64_decode('c2l0ZS92ZXJpZmljYXRpb24='))->send(); } } }
I ask myself that. The last I knew is that they released an update and hours later they suspended the item. Now it is no longer possible to download it.Anyone know why author deleted on Codecanyon?
Maybe you can contact them directly using their email address.I ask myself that. The last I knew is that they released an update and hours later they suspended the item. Now it is no longer possible to download it.
same hereIt asks for the purchase code all the time, replacing the code in the vendor file, that a user suggested to do doesn't work and for some reason my admin dashboard doesn't have a "settings" tab
can you help me with the code? I tried latest version from babiato but not working for me. 500 error as well old versionNeed to replace the file code along the path \vendor\ied3vil\language-switcher\src\ied3vil\LanguageSwitcher\Providers\LanguageSwitcherProvider.php to
PHP:<?php namespace ied3vil\LanguageSwitcher\Providers; use ied3vil\LanguageSwitcher\LanguageSwitcher; use Illuminate\Foundation\AliasLoader; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Config; use Illuminate\Support\ServiceProvider; class LanguageSwitcherProvider extends ServiceProvider { public function register() { AliasLoader::getInstance()->alias(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), \ied3vil\LanguageSwitcher\Facades\LanguageSwitcher::class); App::bind(base64_decode('TGFuZ3VhZ2VTd2l0Y2hlcg=='), function () { return new LanguageSwitcher(); }); } public function boot() { $this->publishes([ __DIR__ . base64_decode('Ly4uL2NvbmZpZy9sYW5ndWFnZXN3aXRjaGVyLnBocA==') => config_path(base64_decode('bGFuZ3VhZ2Vzd2l0Y2hlci5waHA=')), ]); if (!App::routesAreCached()) { require __DIR__ . base64_decode('Ly4uL3JvdXRlcy5waHA='); } if (empty(config(base64_decode('c2V0dGluZ3MucGM='))) && request()->path() != base64_decode('c2l0ZS92ZXJpZmljYXRpb24=')) { redirect(base64_decode('c2l0ZS92ZXJpZmljYXRpb24='))->send(); } } }
I use the same code and it works fine with litespeed.can you help me with the code? I tried latest version from babiato but not working for me. 500 error as well old version
I am using cyberpanel > litespeed
normal versionI use the same code and it works fine with litespeed.
Are you using the 'normal' version or the subdir version?
Set true in .envany help please ?