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

New paths for new bitrix core #309

Merged
merged 2 commits into from
Jun 22, 2016
Merged

Conversation

NemoD503
Copy link
Contributor

This PR is the result of this discussion.
Now Composer installers can handle new paths for bitrix modules, components and themes.
@niksamokhvalov I've added deprecated comments for old paths, maybe this date (2018) can be changed.

@niksamokhvalov niksamokhvalov self-assigned this Jun 22, 2016
'theme' => '{$bitrix_dir}/templates/{$name}/', //deprecated, remove if the year >= 2018 on the major release (Backward compatibility will be broken)
'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
'd7-theme' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to rename: d7-template.

@niksamokhvalov niksamokhvalov merged commit 2cbf678 into composer:master Jun 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants