magento-plugin/tests/bootstrap.php
2014-12-17 12:56:54 -05:00

19 lines
431 B
PHP

<?php
/**
* @license Copyright 2011-2014 BitPay Inc., MIT License
* @see https://github.com/bitpay/magento-plugin/blob/master/LICENSE
*/
if ($mage = realpath(__DIR__.'/../build/magento/app/Mage.php')) {
require_once $mage;
Mage::app();
} else {
exit('Could not find Mage.php');
}
if ($composer = realpath(__DIR__.'/../vendor/autoload.php')) {
require_once $composer;
} else {
exit('Composer not found');
}