or (check what working for you)
Working but it must added to app/Exceptions/Handler.php not VerifyCsrfToken.php
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| class PostsController extends Controller | |
| { | |
| /** | |
| * Base methods structure |
| location /phpmyadmin { | |
| root /usr/share/; | |
| index index.php; | |
| try_files $uri $uri/ =404; | |
| location ~ ^/phpmyadmin/(doc|sql|setup)/ { | |
| deny all; | |
| } | |
| location ~ /phpmyadmin/(.+\.php)$ { |
or (check what working for you)
Working but it must added to app/Exceptions/Handler.php not VerifyCsrfToken.php
command: git pull
Error: Your local changes to the files would be owerwritten by merge:
- list of files..
Solution
| mix.autoload({ | |
| jquery: ['$', 'window.jQuery',"jQuery","window.$","jquery","window.jquery"] | |
| }); | |
| /** | |
| * Manual: https://www.justin.ly/adding-jquery-bootstrap-plugins-laravel-5-mix/ | |
| * Source: https://laracasts.com/discuss/channels/elixir/laravel-mix-required-jquery-plugins-cant-be-found | |
| */ |
(Amazing cloud and VPS, cheapest then other) https://www.vultr.com/
(Good and old provider but vultr use faster Intel processor) digitalocean.com
(Have good deals) https://www.hostwinds.com/vps/linux
| location /phpmyadmin { | |
| #Auth | |
| auth_basic "Restricted"; | |
| auth_basic_user_file /etc/nginx/pma_pass; | |
| expires modified +310s; | |
| #Context | |
| root /usr/share/; |
| /* Enabling font which stored on fonts/ folder */ | |
| @font-face { | |
| font-family: 'Organetto'; | |
| src: url('fonts/Organetto-Light.eot'); | |
| src: local('Organetto Light'), local('Organetto-Light'), | |
| url('fonts/Organetto-Light.eot?#iefix') format('embedded-opentype'), | |
| url('fonts/Organetto-Light.woff2') format('woff2'), | |
| url('fonts/Organetto-Light.woff') format('woff'), | |
| url('fonts/Organetto-Light.ttf') format('truetype'), | |
| url('fonts/Organetto-Light.svg#Organetto-Light') format('svg'); |
| <?php | |
| if (!function_exists('app_get_theme_version')) { | |
| function app_get_theme_version() { | |
| $theme_info = wp_get_theme(); | |
| if ( is_child_theme() ) { | |
| $theme_info = wp_get_theme($theme_info->parent_theme); | |
| } | |
| $theme_version = $theme_info->display('Version'); |