Created
February 10, 2016 04:43
-
-
Save brobie/a72f1cb6690d365c6fc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function getDefaultConfig() | |
{ | |
$result = [ | |
self::ROOT => [parent::PATH => ''], | |
self::APP => [parent::PATH => 'app'], | |
self::MODULES => [parent::PATH => 'app/code'], | |
self::CONFIG => [parent::PATH => 'app/etc'], | |
self::LIB_INTERNAL => [parent::PATH => 'lib/internal'], | |
self::VAR_DIR => [parent::PATH => 'var'], | |
self::CACHE => [parent::PATH => 'var/cache'], | |
self::LOG => [parent::PATH => 'var/log'], | |
self::DI => [parent::PATH => 'var/di'], | |
self::GENERATION => [parent::PATH => 'var/generation'], | |
self::LOCALE => [parent::PATH => 'app/i18n'], | |
self::SESSION => [parent::PATH => 'var/session'], | |
self::MEDIA => [parent::PATH => 'pub/media', parent::URL_PATH => 'pub/media'], | |
self::STATIC_VIEW => [parent::PATH => 'pub/static', parent::URL_PATH => 'pub/static'], | |
self::PUB => [parent::PATH => 'pub', parent::URL_PATH => 'pub'], | |
self::LIB_WEB => [parent::PATH => 'lib/web'], | |
self::TMP => [parent::PATH => 'var/tmp'], | |
self::THEMES => [parent::PATH => 'app/design'], | |
self::UPLOAD => [parent::PATH => 'pub/media/upload', parent::URL_PATH => 'pub/media/upload'], | |
self::TMP_MATERIALIZATION_DIR => [parent::PATH => 'var/view_preprocessed'], | |
self::TEMPLATE_MINIFICATION_DIR => [parent::PATH => 'var/view_preprocessed/html'], | |
self::SETUP => [parent::PATH => 'setup/src'], | |
self::COMPOSER_HOME => [parent::PATH => 'var/composer_home'], | |
]; | |
return parent::getDefaultConfig() + $result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment