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; |
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> | |
<default> | |
</default> | |
</config> |
<templateSet group="EcomCoders"> | |
<template name="m2setget" value="/** * Getter for $FIELD_UNDERSCORES$ * * @return $TYPEHINT$|null */ public function get$FIELD_CAMELCASE_CAPITALIZED$() { return $this->_getData('$FIELD_UNDERSCORES$'); } /** * Setter for $FIELD_UNDERSCORES$ * * @param $TYPEHINT$ $$$FIELD_CAMELCASE$ * @return $this */ public function set$FIELD_CAMELCASE_CAPITALIZED$($$$FIELD_CAMELCASE$) { return $this->setData('$FIELD_UNDERSCORES$', $$$FIELD_CAMELCASE$); }$END$" description="Magento2-Setter/Getter-Method" toReformat="true" toShortenFQNames="true"> | |
<variable name="FIELD_UNDERSCORES" expression="" defaultValue="" alwaysStopAt="true" /> | |
<variable name="FIELD_CAMELCASE" expression="camelCase(FIELD_UNDERSCORES)" defaultValue="" alwaysStopAt="false" /> | |
<variable name="FIELD_CAMELCASE_CAPITALIZED" expression="capitalize(camelCase(FIELD_UNDERSCORES))" defaultValue="" alwaysStopAt="false" /> | |
<var |
######################################################################## | |
# 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 \ |