Skip to content

autoload.php generates library conflicts in CMSs#447

Closed
deconf wants to merge 1 commit intogoogleapis:masterfrom
deconf:patch-1
Closed

autoload.php generates library conflicts in CMSs#447
deconf wants to merge 1 commit intogoogleapis:masterfrom
deconf:patch-1

Conversation

@deconf
Copy link
Copy Markdown
Contributor

@deconf deconf commented Jan 12, 2015

CMS extension and/or plugin developers should customize autoload.php to avoid "redeclare fatal errors"

CMS extensions and plugin developers should customize autoload.php to avoid redeclare fatal errors
@ianbarber
Copy link
Copy Markdown
Contributor

Thanks! I'm not sure that renaming the function is super worthwhile though - perhaps its easier to add a note to the README with your recommendation?

@deconf
Copy link
Copy Markdown
Contributor Author

deconf commented Jan 21, 2015

We could also check the function name, and if it wasn't customized we could throw an exception. But that may be a drawback for those using the library outside a CMS.

A recommendation in the README it's a good idea.

@ianbarber
Copy link
Copy Markdown
Contributor

Added a note to the README, thanks!

@ianbarber ianbarber closed this Feb 5, 2015
@deconf deconf deleted the patch-1 branch April 14, 2015 08:47
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