Re: Phingless workspace layout
Manuel Holtgrewe <[email protected]> Mon, 14 Mar 2005 13:25:50 +0100
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
Jean-Christophe Michel schrieb: > Hi, > > Manuel Holtgrewe wrote: > >> 3.2.) Set the correct include_path >> >> Use "set_include_path()" to append the path to binarycloud (so that >> 'binarycloud/*' can be included with include_once), vortex and your >> workspace to the include_path. > > > Two questions here: > - don't we need to use a custom include_php() to be able to translate > binarycloud files ? Then maybe include_php would call > include_once(BC_BASE.$path), and this set_include_path() is not useful ? > - will /init/lang_autoswitch.php still be able to know current language > and all available languages ? The current language and all available languages should be determined by a class in binarycloud/locale. Project should set the default language (from configuration). I think we should have no path rewriting in the translating and caching include_php() - it should only do translation to keep complexity at a minimum. Manuel -- GPG key: http://www.ggnore.net/~mholtgrewe/personal/files/public_key.asc _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev