Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed orphan directory and code of compiler and downloder. #1667

Merged
merged 1 commit into from
Jul 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/code/core/Mage/Core/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,7 @@
<protected>
<app>/app/*/*</app>
<dev>/dev/*/*</dev>
<downloader>/downloader/*/*</downloader>
<errors>/errors/*/*</errors>
<includes>/includes/*/*</includes>
<js>/js/*/*</js>
<lib>/lib/*/*</lib>
<shell>/shell/*/*</shell>
Expand Down
2 changes: 0 additions & 2 deletions includes/.htaccess

This file was deleted.

25 changes: 0 additions & 25 deletions includes/config.php

This file was deleted.

3 changes: 0 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
exit;
}

/**
* Compilation includes configuration file
*/
define('MAGENTO_ROOT', getcwd());

$mageFilename = MAGENTO_ROOT . '/app/Mage.php';
Expand Down
17 changes: 0 additions & 17 deletions index.php.sample
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,8 @@ if (version_compare(phpversion(), '7.0.0', '<')===true) {

require 'app/bootstrap.php';

/**
* Compilation includes configuration file
*/
$compilerConfig = 'includes/config.php';
if (file_exists($compilerConfig)) {
include $compilerConfig;
}

$mageFilename = 'app/Mage.php';

if (!file_exists($mageFilename)) {
if (is_dir('downloader')) {
header("Location: downloader");
} else {
echo $mageFilename." was not found";
}
exit;
}

require_once $mageFilename;

#Varien_Profiler::enable();
Expand Down