vendredi 29 janvier 2016

Laravel 5.2, Input::all() is empty

I have strange problem. On localhost evrything is ok. But on my production website function Input::all() return empty Array.

For example http:://mypage.com?action=run etc.

nginx configuration

    server {
root /usr/share/nginx/www/g2g/public;
index index.html index.htm index.php;
server_name mypage.com www.mypage.com;

location / { 
    try_files $uri $uri/ /index.html /index.php;
}   

location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;

    fastcgi_pass unix:/var/run/php5-fpm.sock;
    fastcgi_index index.php;
    include fastcgi_params;
}   

}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire