print_r(curl_getinfo($cURLsession))
server {
listen 80;
server_name site.ru;
return 301 https://site.ru$request_uri;
}
<?php
$formatter = new IntlDateFormatter('ru_RU', IntlDateFormatter::FULL, IntlDateFormatter::FULL);
$formatter->setPattern('d MMMM YYYY года HH:mm');
echo $formatter->format(DateTime::createFromFormat('d.m.Y H:i:s', '23.03.2016 17:30:00')); //23 марта 2016 года 17:30
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'payment'
];
}