What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-17 14:49:11
Mixed Content heroku laravel
When changing from http to https, it's possible to get the problem Mixed content issue - Content must be served as HTTPS. So, first modify APP_URL in the .env file, if we use the assets helper, this shouldn't give any problem with the URL. APP_URL=https... Add solution -
PHP 2021-10-28 08:59:13
laravel mixed content error
When changing from http to https, it's possible to get the problem Mixed content issue - Content must be served as HTTPS. So, first modify APP_URL in the .env file, if we use the assets helper, this shouldn't give any problem with the URL. APP_URL=https... Add solution -
PHP 2021-10-17 11:02:08
title active php
//index.php or controller $pages = array(); $pages["offnungszeiten.php"] = "Öffnungszeiten"; $pages["sauna.php"] = "Sauna"; $pages["frauensauna.php"] = "Frauensauna"; $pages["custom.ph... Add solution -
PHP 2021-10-10 08:26:08
morph laravel without classes name
// app/config/app.php or anywhere you like 'aliases' => [ ... 'MorphOrder' => 'Some\Namespace\Order', 'MorphStaff' => 'Maybe\Another\Namespace\Staff', ... ] // Staff model protected $morphClass = 'MorphStaff'; // Order model pro... Add solution -
PHP 2021-09-09 02:57:03
wordpress add block from single.php
// GET a post or page with blocks or whatever and print it //on your single.php or other wp file $reuse_block = get_post( 123 ); // ID of the post $reuse_block_content = apply_filters( 'the_content', $reuse_block->post_content); echo $reuse_block_con... Add solution