Skip to content

Commit

Permalink
removed Mage_Compiler (OpenMage#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
dng-dev authored and rafaelpatro committed May 14, 2019
1 parent 9dba8e9 commit cec83b7
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 1,862 deletions.
33 changes: 13 additions & 20 deletions app/Mage.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,19 @@

Mage::register('original_include_path', get_include_path());

if (defined('COMPILER_INCLUDE_PATH')) {
$appPath = COMPILER_INCLUDE_PATH;
set_include_path($appPath . PS . Mage::registry('original_include_path'));
include_once COMPILER_INCLUDE_PATH . DS . "Mage_Core_functions.php";
include_once COMPILER_INCLUDE_PATH . DS . "Varien_Autoload.php";
} else {
/**
* Set include path
*/
$paths = array();
$paths[] = BP . DS . 'app' . DS . 'code' . DS . 'local';
$paths[] = BP . DS . 'app' . DS . 'code' . DS . 'community';
$paths[] = BP . DS . 'app' . DS . 'code' . DS . 'core';
$paths[] = BP . DS . 'lib';

$appPath = implode(PS, $paths);
set_include_path($appPath . PS . Mage::registry('original_include_path'));
include_once "Mage/Core/functions.php";
include_once "Varien/Autoload.php";
}
/**
* Set include path
*/
$paths = array();
$paths[] = BP . DS . 'app' . DS . 'code' . DS . 'local';
$paths[] = BP . DS . 'app' . DS . 'code' . DS . 'community';
$paths[] = BP . DS . 'app' . DS . 'code' . DS . 'core';
$paths[] = BP . DS . 'lib';

$appPath = implode(PS, $paths);
set_include_path($appPath . PS . Mage::registry('original_include_path'));
include_once "Mage/Core/functions.php";
include_once "Varien/Autoload.php";

Varien_Autoload::register();

Expand Down
3 changes: 0 additions & 3 deletions app/code/core/Mage/Adminhtml/Helper/Help/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ abstract class Mage_Adminhtml_Helper_Help_Mapping extends Mage_Core_Helper_Abstr
'Mage_Paypal_Adminhtml' => array(
'paypal_reports' => 'store-operations/reports-available.html',
),
'Mage_Compiler_Adminhtml' => array(
'compiler_process' => 'system-operations/system-tools-compilation.html',
),
'Mage_Api2_Adminhtml' => array(
'api2_attribute' => 'system-operations/web-services.html',
),
Expand Down
199 changes: 0 additions & 199 deletions app/code/core/Mage/Compiler/Block/Process.php

This file was deleted.

36 changes: 0 additions & 36 deletions app/code/core/Mage/Compiler/Helper/Data.php

This file was deleted.

Loading

0 comments on commit cec83b7

Please sign in to comment.