RewriteRule ^(.*)$ index.php?page=$1 [L]
RewriteEngine On #включить mod_rewrite
RewriteBase / #базовый url
RewriteCond %{REQUEST_FILENAME} !-f #все <b>существующие</b> файлы не будут обрабатываться регуляркой
RewriteCond %{REQUEST_FILENAME} !-d #все <b>существующие</b> папки не будут обрабатываться регуляркой
RewriteRule ^(.*)$ index.php?page=$1 [L] #перенаправляем то, что подходит под регулярку в виде GET-параметра
window.location.hash=jQuery("#search-form > div.search-filters.type-place > form").serialize()
<meta property="og:image" content="http://content.nike.com/content/dam/one-nike/globalAssets/social_media_images/nike_swoosh_logo_black.png " />
Only Stateless APIs
Lumen 5.2 represents a shift on slimming Lumen to focus solely on serving stateless, JSON APIs. As such, sessions and views are no longer included with the framework. If you need access to these features, you should use the full Laravel framework. Upgrading your Lumen application to the full Laravel framework mainly involves copying your routes and classes over into a fresh installation of Laravel. Since Laravel and Lumen share many of the same components, your classes should not require any modification.
Schema::create("table", function($table) {
$table->blob('data')->nullable();
});
DB::statement("ALTER TABLE table ADD data MEDIUMBLOB");
var scrollDistance = window.innerHeight;