Magento has recently merged an architecture proposal with the goal of removing non-composer modules.
At first this seems like a good idea, but I think there are some problems.
Magento listens to the community. That is a good thing.
| @import "tailwindcss/base"; | |
| @import "tailwindcss/components"; | |
| @import "tailwindcss/utilities"; |
Magento has recently merged an architecture proposal with the goal of removing non-composer modules.
At first this seems like a good idea, but I think there are some problems.
Magento listens to the community. That is a good thing.
| diff --git a/app/Mage.php b/app/Mage.php | |
| index 0e650eebb4f..9c18e222689 100644 | |
| --- a/app/Mage.php | |
| +++ b/app/Mage.php | |
| @@ -798,9 +798,9 @@ public static function log($message, $level = null, $file = '', $forceLog = fals | |
| ',', | |
| (string) self::getConfig()->getNode('dev/log/allowedFileExtensions', Mage_Core_Model_Store::DEFAULT_CODE) | |
| ); | |
| - $logValidator = new Zend_Validate_File_Extension($_allowedFileExtensions); | |
| $logDir = self::getBaseDir('var') . DS . 'log'; |
| server { | |
| listen 80; | |
| server_name sample.loc; | |
| set $MAGE_ROOT /Users/darkogoles/Sites/sample.loc; | |
| access_log /usr/local/etc/nginx/logs/sample_access.log; | |
| error_log /usr/local/etc/nginx/logs/sample_error.log; | |
| root $MAGE_ROOT; |
| server { | |
| listen 80; | |
| server_name site.loc; | |
| set $MAGE_ROOT /Users/darkogoles/Sites/site.loc/http; | |
| set $LARAVEL_ROOT /Users/darkogoles/Sites/site.loc/shipping/http; | |
| root $MAGE_ROOT/pub; | |
| index index.php; |
| ######################################################################## | |
| # OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024 | |
| # ---------------------------------------------------------------------- | |
| # @Author: Andreas Hecht | |
| # @Author URI: https://seoagentur-hamburg.com | |
| # License: GNU General Public License v2 or later | |
| # License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| ######################################################################## | |
| #!/usr/bin/env bash | |
| #################################################################################### | |
| # Slack Bash console script for sending messages. | |
| #################################################################################### | |
| # Installation | |
| # $ curl -s https://gist.githubusercontent.com/andkirby/67a774513215d7ba06384186dd441d9e/raw --output /usr/bin/slack | |
| # $ chmod +x /usr/bin/slack | |
| #################################################################################### | |
| # USAGE | |
| # Send message to slack channel/user |
| find -L app/design/frontend -name 'shipping.phtml' -or -name 'billing.phtml' -or -name 'shipping_method.phtml' -or -name 'payment.phtml' -or -name 'addresses.phtml' \ | |
| | xargs grep -L formkey \ | |
| | xargs perl -i -pe 's/<\/form>/<?php echo \$this->getBlockHtml("formkey") ?>\n<\/form>/g' | |
| find -L skin/frontend -name 'opcheckout.js' \ | |
| | xargs grep -L form_key \ | |
| | xargs perl -i -pe 's/if \(elements\[i\]\.name=='\''payment\[method\]'\''\) \{/if (elements[i].name=='\''payment[method]'\'' || elements[i].name == '\''form_key'\'') {/g' | |
| find -L js -name 'payment.js' \ | |
| | xargs grep -L form_key \ |
| @startuml | |
| ' uncomment the line below if you're using computer with a retina display | |
| ' skinparam dpi 300 | |
| !define Table(name,desc) class name as "desc" << (T,#FFAAAA) >> | |
| ' we use bold for primary key | |
| ' green color for unique | |
| ' and underscore for not_null | |
| !define primary_key(x) <b>x</b> | |
| !define unique(x) <color:green>x</color> | |
| !define not_null(x) <u>x</u> |