From: Stefan K. <Ste...@ga...> - 2003-06-04 14:40:01
|
[...] >>> bu...@di... 02.06.03 19.43 Uhr >>> There seem to be two places to get this right now. I don't see any reason = why we should maintain these defines in two different places, especially a = static file such as pnAPI.php. I suggest we move away from having these defined in the php file & only have the info available via = the database. [...] I agree. The better place for that informations would be the database. I = think we should make these changes you describe. WindMeUp ---------------------------- Currently, references to _PN_VERSION_NUM exist in: Stats module/index.php (line 462) Credits module/pnuser.php (lines: 76, 90, 104) The other two (_PN_VERSION_ID,_PN_VERSION_SUB) don't appear to ever get used. pnAPI defines: define('_PN_VERSION_NUM', "1.2"); define('_PN_VERSION_ID', "Envolution"); define('_PN_VERSION_SUB', "Michelangelo"); and database fields: /PNConfig Version_Num s:5:"1.2.0"; /PNConfig Version_ID s:10:"Envolution"; /PNConfig Version_Sub s:12:"Michelangelo"; The fields from the database are retrieved via: pnConfigGetVar('Version_Num') pnConfigGetVar('Version_ID') pnConfigGetVar('Version_Sub') ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Envolution-devel mailing list Env...@li... https://lists.sourceforge.net/lists/listinfo/envolution-devel |