From: Mitra <mi...@ea...> - 2003-06-27 01:42:26
|
Can I suggest we come up with a convention for site-specific code in distributions. For example it could be by if (DEFAULT_ORG_ID == "foo.com") {.... } Better would be so that the code was never compiled, but I'm not sure how to do that in PHP. I think this would be useful as often these site-specific extensions allow others to see how something has been done and even generalise it? - Mitra At 2:41 AM +0200 27/6/03, Honza Malik wrote: >Hi Mitra, > > in current CVS version we introduced event.class.php3 file - new >event handling possibility in AA. It works well, I think, but the events >are still defined inside the file, which is not final state - we plan to >move event handlers definitions to the database. > > So yes, the code is still needed (it will be never executed for you >because it is joined with slice_id), but it will be moved to the >database in the future. > > Honza > > >26. 06. 2003 v 02:16, Mitra wrote: > >> Jakub ... >> >> I notice in include/event.class.php3 there is some hard coded events >> set up by a function Event_ItemUpdated_DropIn >> >> Is this something left over from testing, or is it real code still needed? >> >> it appears to still be getting called (from aaevent->get_handlers >> from aaevent->comes from several places) >> >> Its not important ... just something odd I noticed. >> >> - Mitra >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: INetU >Attention Web Developers & Consultants: Become An INetU Hosting Partner. >Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! >INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php >_______________________________________________ >Apc-aa-coders mailing list >Apc...@li... >https://lists.sourceforge.net/lists/listinfo/apc-aa-coders -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... home office 02-6684-8096 mobile 0414-648-722 work 02-6684-6182 Life is a Mystery to be Lived, not a Problem to be Solved |