Include at top of pnuserapi.php does not work in all cases (CVS)
Include at top of pnuserapi.php does not work in all cases (CVS)
Posted: 10.04.2003, 20:34
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
I hope you don't mind me posting it here. (Maybe a private forum would be a good idea?)
I code a pnHook to allow embedded images within the articles. This hook calls a function from the pnuserapi.php. When this file is loaded in that way 'pnModGetName' returns the wrong name (so it is actually a postnuke bug).
We probably need a work around for it as it gives errors on the front page.
Posted: 10.04.2003, 21:44
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Just added "development" for private discussions :D
Posted: 28.05.2003, 21:35
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Fixed simply by hardcoding "photoshare" as the module name. I cannot see how this could change anyhow since each and every PN API function must be named according to the module (so in practice it's impossible to change a module name).