You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project I am showcasing some ways to do specific tasks in Magento 1 and 2.
So, in the php file: https://github.com/barryvdh/laravel-debugbar/blob/master/src/LaravelDebugbar.php
At line: 914-915 I see the function is at follows:
// Try to put the js/css directly before the < /head>
$pos = strripos($content, '< /head>');
If I add in the content another < /head> then the entire pages does not work properly anymore.
What is the purpose of finding the last occurrence and not the first?
The text was updated successfully, but these errors were encountered:
In my project I am showcasing some ways to do specific tasks in Magento 1 and 2.
So, in the php file:
https://github.com/barryvdh/laravel-debugbar/blob/master/src/LaravelDebugbar.php
At line: 914-915 I see the function is at follows:
// Try to put the js/css directly before the < /head>
$pos = strripos($content, '< /head>');
If I add in the content another < /head> then the entire pages does not work properly anymore.
What is the purpose of finding the last occurrence and not the first?
The text was updated successfully, but these errors were encountered: