This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| echo "Cleaning" | |
| rm -rf app/code/Axelites/MgtVarnish | |
| rm -rf app/code/Mgt | |
| rm -rf var/cache/* | |
| rm -rf var/view_preprocessed/* | |
| rm -rf var/page_cache/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Does not support flag GLOB_BRACE | |
| function rsearch($folder, $pattern_array) { | |
| $return = array(); | |
| $iti = new RecursiveDirectoryIterator($folder); | |
| foreach(new RecursiveIteratorIterator($iti) as $file){ | |
| if (in_array(strtolower(array_pop(explode('.', $file))), $pattern_array)){ | |
| $return[] = $file; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ──────→ No problems found. | |
| ─────→ Checking "video.png". | |
| ──────→ No problems found. | |
| ─────→ Checking "playlist-audio.png". | |
| ──────→ No problems found. | |
| ─────→ Checking "dashicon-edit.png". | |
| ──────→ No problems found. | |
| ─────→ Checking "more.png". | |
| ──────→ No problems found. | |
| ─────→ Checking "pagebreak-2x.png". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "from": 0, | |
| "size": 10, | |
| "sort": [ | |
| { | |
| "_score": { | |
| "order": "desc" | |
| } | |
| } | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function generateElasticSearchQueryFromTerm( $term, $lang = null ) { | |
| $term = strtolower( $term ); | |
| $query = [ | |
| 'sort'=> [ | |
| 'meta.societe_pgs_vip.raw'=> [ | |
| 'order'=> 'desc' | |
| ], | |
| // '_score' => [ | |
| // 'order'=> 'desc' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $dir = '/home/amine/public/deletehtaccess'; | |
| $result = shell_exec( 'find ' . $dir . ' -type f -iname ".htaccess" -print' ); | |
| if( !empty( $result ) ) { | |
| echo "\nFound the following files in [$dir]:\n" . $result; | |
| $hidden_files = explode("\n", trim($result) ); | |
| } else { | |
| echo "\nFound no hidden files in [$dir].\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div | |
| class="d-flex flex-column flex-column-fluid bgi-position-y-bottom position-x-center bgi-no-repeat bgi-size-contain bgi-attachment-fixed" | |
| :style="{ backgroundImage: 'url(' + getIllustrationsPath('14.png') + ')' }" | |
| > | |
| <!--begin::Content--> | |
| <div class="d-flex flex-center flex-column flex-column-fluid p-10 pb-lg-20"> | |
| <!--begin::Logo--> | |
| <a href="#" class="mb-12"> | |
| <img alt="Logo" src="media/logos/logo-1.svg" class="h-45px" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{"source_id":3799,"sku":"2xgf225anoisnoir","media_id":937,"model_id":3799,"images":"Dima_2xgf225anoisnoir--uniq--f35e259357a892042cac55f278651c30.JPG|@vickyshome_ _ chaises scandinaves Dima Bois Noisette et Noir-ffb2d67bfbc25412cd9261de970858e0.jpg|@vickyshome_ _ chaises scandinaves Dima Bois Noisette et Noir-2-d605b8309355b1da091de975048a95ec.jpg"},{"source_id":5500,"sku":"8801greyvelvet","media_id":936,"model_id":5500,"images":"Klarys_8801greyvelvet--uniq--88785b20616672772ece44e4e33c54ab.jpg"},{"source_id":9026,"sku":"dc5601puttyvelvet","media_id":935,"model_id":9151,"images":"elsa_dc5601puttyvelvet--uniq--00c5df736cecc20c0a90ce86e7e6eb9b.jpg"},{"source_id":4428,"sku":"qh8901beige","media_id":934,"model_id":4428,"images":"Lylou_qh8901beige--uniq--d1cc4ce39b06bee233d86c13b1cad44a.jpg"},{"source_id":5868,"sku":"dc5106lot2lightgreyfabric","media_id":933,"model_id":5868,"images":"maury_dc5106lot6lightgreyfabric--uniq--8bae5fd340e5c6fc290d0cb3f79685ee.PNG"},{"source_id":4143,"sku":"qh8901yellow16806","medi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $categories = $this->container->get('mz.category')->getMenzzoMenu(3); | |
| function generateCategoryPath($categories, $categoryId) { | |
| $categoryPath = []; | |
| // Find the category with the given ID | |
| $category = findCategoryById($categories, $categoryId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [2023-12-11T06:35:53.498024+00:00] main.CRITICAL: Exception: Notice: A non well formed numeric value encountered in /home/cloudpanel/htdocs/www.menzzo.fr/releases/2023_12_08_2_01_56_tag_2.4.5.166/app/code/Axelites/Core/Helper/Data.php on line 1580 in /home/cloudpanel/htdocs/www.menzzo.fr/releases/2023_12_08_2_01_56_tag_2.4.5.166/vendor/magento/framework/App/ErrorHandler.php:62 | |
| Stack trace: | |
| #0 /home/cloudpanel/htdocs/www.menzzo.fr/releases/2023_12_08_2_01_56_tag_2.4.5.166/app/code/Axelites/Core/Helper/Data.php(1580): Magento\Framework\App\ErrorHandler->handler() | |
| #1 /home/cloudpanel/htdocs/www.menzzo.fr/releases/2023_12_08_2_01_56_tag_2.4.5.166/app/code/Axelites/Core/Block/Catalog/Product/View/Purchase.php(294): Axelites\Core\Helper\Data->priceScalapay3X() | |
| #2 /home/cloudpanel/htdocs/www.menzzo.fr/releases/2023_12_08_2_01_56_tag_2.4.5.166/var/view_preprocessed/pub/static/app/code/Axelites/Core/view/frontend/templates/scalapay/scalapay_wrapper.phtml(1): Axelites\Core\Block\Catalog\Product\View\Purchase->priceScal |
OlderNewer