Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
| File: Adminhtml/Block/Api/Grid/Role.php | |
| function _prepareCollection() | |
| { | |
| $collection = Mage::getModel("api/roles")->getCollection(); | |
| $this->setCollection($collection); | |
| return parent::_prepareCollection(); | |
| } | |
| +--------------------------------------------------+ | |
| File: Adminhtml/Block/Api/Role/Grid/User.php |
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Open Software License (OSL 3.0) | |
| * that is bundled with this package in the file LICENSE.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/osl-3.0.php |
| delimiter ;; | |
| drop procedure if exists build_catalog;; | |
| create procedure build_catalog(IN categories INT, IN products INT) | |
| begin | |
| SET @category_count = 1; | |
| SET @CATNAMEPREFIX = "Category "; | |
| SET @CATURLKEYPREFIX = "cat-"; | |
| SET @CATURLPATHPREFIX = "catpath-"; | |
| SET @ROOTCATEGORY = 2; | |
| SET @INCLUDEINMENU = 1; |
| ### MAGENTO DIRECTORIES | |
| # Ignore everything in media, except for the htaccess files | |
| # Also include the Lazy Catalog Images (LCI) .htaccess if that's installed | |
| # (https://github.com/AOEpeople/Aoe_LazyCatalogImages) | |
| /media/* | |
| !/media/.htaccess | |
| !/media/customer/.htaccess | |
| !/media/downloadable/.htaccess | |
| !/media/catalog/product/LCI/.htaccess |
| #!/bin/bash | |
| ### System Setup ### | |
| DIRS="/var/www/shop/public_html" | |
| BACKUP=/tmp/backup.$$ | |
| NOW=$(date +"%d-%m-%Y") | |
| DELDATE=$(date -d "-7 days" +"%d-%m-%Y") | |
| ### MySQL Setup ### | |
| MUSER="xxx" |
| <?php | |
| /** | |
| * Generate modman file from Magento Connect 2.0 package.xml | |
| * | |
| * Usage: | |
| * | |
| * php package2modman.php path/to/package.xml > path/to/modman | |
| * | |
| */ | |
| require_once(__DIR__ . "/../www/app/Mage.php"); |
| # use this inside lib/Zend to make the version of ZF usable with php 5.6 | |
| sed -i "s/'internal_encoding'/'default_charset'/g" ./XmlRpc/Client.php ./Service/Audioscrobbler.php ./Service/Technorati.php ./Locale/Format.php ./Validate/Hostname.php ./Validate/StringLength.php |
| <?php | |
| /** | |
| * SupportDesk_FixAcl.php v1.1 | |
| * SupportDesk (www.supportdesk.nu) | |
| * 10/7/2015 | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Open Software License (OSL 3.0) | |
| * It is available through the world-wide-web at this URL: |
| <?php | |
| require_once 'abstract.php'; | |
| /** | |
| * Generate a CSV of modules with admin routes that haven't implemented _isAllowed() | |
| */ | |
| class Mpchadwick_Missing_Acl_Checker extends Mage_Shell_Abstract | |
| { | |
| const MODULES_PATH = 'modules'; |