From: Andy Staudacher <andress@ee...> - 2005-12-11 04:14:40
Change in cvs, BRANCH_API_DEV (not in HEAD):
GalleryCoreApi::relativeRequireOnce was renamed to
GalleryCoreApi::requireOnce (and the old requireOnce was removed).
When preparing your module for the next API version, run also the following
script in your module:
http://dev.nei.ch/convertRequireOnce.txt (rename the script from .txt to
It will just change the relativeRequireOnce to requireOnce calls.
Why the change?
Until now, relativeRequireOnce called requireOnce to actually include the
file once the absolute path was resolved.
- This additional call to requireOnce wasn't really necessary, now we call
- Think of the function as a require_once as if the php include_path was set
to the gallery 2 dir
Thus specify all paths relative to the gallery2 dir when calling
(which means, there's no difference between the old relativeRequireOnce and
the new requireOnce, just the name has changed)
Get latest updates about Open Source Projects, Conferences and News.