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

YOURLS_USER constant checking. Hook activated plugin. #45

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

rizlas
Copy link

@rizlas rizlas commented Oct 19, 2021

Checking constant variables should be done using defined function https://www.php.net/manual/en/function.defined.php

Hook for plugin activation was not working in a docker deploy so i changed it following official hooks list https://yourls.org/hooklist.php. After that the plugin was able to successfully create the username column in the database.

…ctivated_plugin in amp_activated function. Previously hook was not working in a docker deploy
@joshp23 joshp23 merged commit 8756057 into joshp23:master Dec 28, 2021
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