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

Prevent redefine constant BASE_PATH #813

Merged
merged 2 commits into from
Apr 11, 2018
Merged

Prevent redefine constant BASE_PATH #813

merged 2 commits into from
Apr 11, 2018

Conversation

customsoft
Copy link
Contributor

Add defined for not redefine constant BASE_PATH

Add defined for not redefine constant BASE_PATH
@noplanman
Copy link
Member

noplanman commented Apr 6, 2018

Right, thanks for this PR 👍

Will rename the constants and make the appropriate checks for the others too.

Is this constant breaking things for you in your current project?

@noplanman
Copy link
Member

I've also renamed the constants to be more library specific, not so general.

@customsoft @php-telegram-bot/developers

@akalongman
Copy link
Member

Ideally we should not use constants at all, but for current version its ok

@noplanman noplanman merged commit 7b5bf5f into php-telegram-bot:develop Apr 11, 2018
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.

3 participants