1
0
mirror of synced 2024-11-30 00:46:06 +03:00
magento-module/tests/unit/autoload.php
2017-02-03 11:05:00 +03:00

12 lines
373 B
PHP

<?php
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR
. dirname(__FILE__) . '/../../app' . PATH_SEPARATOR . dirname(__FILE__));
//Set custom memory limit
ini_set('memory_limit', '512M');
//Include Magento libraries
require_once 'Mage.php';
//Start the Magento application
Mage::app('default');
//Avoid issues "Headers already send"
session_start();