Hello,
I suggest to use 'onclude_once' instead of 'include'. It will avoid to redeclare functions. In standard installation, 'include' works perfect, but in some modifications it can couse problems.
Greets!
Adam Langowski
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Tidypics Team@tidypics
Tidypics Team - 0 likes
- langowskiadam@langowski
langowskiadam - 0 likes
- Tidypics Team@tidypics
Tidypics Team - 0 likes
- langowskiadam@langowski
langowskiadam - 0 likes
You must log in to post replies.I understand the difference between include and include_once but do not see a good reason to change what we're doing. You'll need to make your case with specifics.
Sorry, I didn't want to offend you. It was only my suggestion.
Greets!
Adam Langowski
Not offended - just needed to know if you had a reason behind the suggestion.
Only reason is that, it will be usefull, if somebody modify Tidypics, but, of course, it does not improve standard version.
Greets!
Adam Langowski