1
0
mirror of synced 2024-11-23 05:26:08 +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();