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
| :root { | |
| --add-review-block-title:'ADD REVIEW' | |
| } | |
| [lang="en"] { | |
| --add-review-block-title:'ADD EN' | |
| } | |
| [lang="es"] { | |
| --add-review-block-title:'ADD ES' | |
| } |
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
| * Admin > Content > Configuration > Find your theme > Edit > Set Magento Luma | |
| `https://webm.red/YddF.webm` | |
| * Clear cache and test the behavior at default |
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
| ## Valet | |
| https://github.com/cpriego/valet-linux | |
| #### Valet not found | |
| Add to your `~/.profile` file follow code: | |
| ```bash | |
| if [ -d "$HOME/.config/composer/vendor/bin" ] ; then |
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 -r '$a = include("app/etc/env.php"); extract($a["db"]["connection"]["default"]); $table=$a["db"]["table_prefix"] . "theme"; $query="\"update $table set type=0;\""; echo "mysql -u$username -h$host -p$password --database=$dbname -Bse $query";' | $0 |
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
| https://github.com/magento/magento2/blob/2.4-develop/lib/internal/Magento/Framework/Logger/Handler/System.php#L25 | |
| change to | |
| protected $loggerType = Logger::NOTICE; |
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
| "0": { | |
| "type": "composer", | |
| "url": "https://repo.magento.com/" | |
| }, |
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
| Add the code in file | |
| `vendor/magento/framework/DB/Adapter/Pdo/Mysql.php` | |
| line 1846 | |
| after line | |
| `case 'smallint':` | |
| add | |
| `case 'smallint unsigned':` | |
| and | |
| after line | |
| `case 'int':` |
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 -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
| php composer-setup.php --1 | |
| php -r "unlink('composer-setup.php');" |
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 bin/magento config:set dev/css/merge_css_files 1 | |
| php bin/magento config:set dev/css/minify_files 1 | |
| php bin/magento config:set dev/js/merge_files 1 | |
| php bin/magento config:set dev/js/minify_files 1 |