After deciding several problems in project i have the last problem. At last question, I've said that i'm not PHP/Laravel developer but i need to support some project and add some fixture. And I need community help :)
app.blade.php
<!DOCTYPE html>
<html lang="ru">
<head>
<html prefix="og: //ogp.me/ns#">
<link as=script href="https://disney.ru/adobe/adobe_analytics_code.js" rel=preload />
<script src="https://disney.ru/adobe/adobe_analytics_code.js"></script>
<!-- Google Tag Manager Part 1-->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-33CDPQ');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<!-- OpenGraph -->
<meta property="og:title" content="" />
<meta property="og:type" content="" />
<meta property="og:url" content="<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" ?>" />
<meta property="og:description" content="" />
<meta property="og:image" content="" />
database
mysql> SELECT og_image FROM heroes;;
+-----------------------------------------+
| og_image |
+-----------------------------------------+
| uploads/images/uWXGUnrZU6cHAZXyPQvT.png |
| NULL |
| NULL |
| NULL |
How i can fixture this? And this og_image will be not only in one model Hero For example.
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire