One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<?php | |
$reflection = new \ReflectionClass("\Imagick"); | |
$colorspaces = array_flip( | |
array_filter( | |
$reflection->getConstants(), | |
function ($k) { | |
return mb_strpos($k, "COLORSPACE") !== false; | |
}, | |
ARRAY_FILTER_USE_KEY | |
) |
<?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"); |