diff --git a/.env.example b/.env.example index cd4592a21..3fe41d4d1 100644 --- a/.env.example +++ b/.env.example @@ -140,7 +140,7 @@ TEMP_UNRAR_PATH= TEMP_UNZIP_PATH= VIEW_COMPILED_PATH=/var/www/NNTmux/storage/framework/views -ASSET_URL= +ASSET_URL=/var/www/NNTmux/public/assets TELESCOPE_DRIVER=database TELESCOPE_ENABLED=true diff --git a/Blacklight/utility/SmartyUtils.php b/Blacklight/utility/SmartyUtils.php index 85050e8d1..b07f6d53d 100755 --- a/Blacklight/utility/SmartyUtils.php +++ b/Blacklight/utility/SmartyUtils.php @@ -19,6 +19,7 @@ * @copyright 2014 nZEDb */ use App\Models\Category; +use Illuminate\Support\Str; /** * Returns the value of the specified Category constant. @@ -155,10 +156,8 @@ function release_flag($text, $page) } if ($code !== '' && $page === 'browse') { - $www = Str::finish(WWW_TOP, '/'); - return - ''.$language.''; + ''.$language.''; } if ($page === 'search') { diff --git a/resources/views/themes/Gentele/basepage.tpl b/resources/views/themes/Gentele/basepage.tpl index 99a3b8cf4..f09e11565 100755 --- a/resources/views/themes/Gentele/basepage.tpl +++ b/resources/views/themes/Gentele/basepage.tpl @@ -7,7 +7,7 @@ {$meta_title}{if $meta_title != "" && $site->metatitle != ""} - {/if}{$site->metatitle} - {{Html::style("{{asset('/assets/css/all-css.css')}}")}} + {{Html::style("{{asset('/css/all-css.css')}}")}} @@ -24,7 +24,7 @@ {if Auth::check()}
- User Image
@@ -194,7 +194,7 @@ -{{Html::script("{{asset("/assets/js/all-js.js")}}")}} +{{Html::script("{{asset("/js/all-js.js")}}")}}