From: Oliver B. <ob...@de...> - 2004-06-30 06:59:05
|
Matthew Palmer wrote: [...] > > I just prefer my simple starter scripts because they are shorter. > > Shorter than > > <?php > require_once 'lib/IniConfig.php'; > IniConfig('/foo/bar/baz'); > define('__CONFIGURED'); > > ? IMHO it is simpler, because the script also contains the specific configuration where your method requires a third file. But I see not basic difference since both methods combine a standard config with specific settings, and therefore no need for heated discussions. Although I have no PHP knowledge, I have no problem to understand both methods and adapt PhpWiki to my specific needs. If I decide to set variables in the php script, I can do so. If I prefer to read a *.ini, I can do it also. Who cares? Is it important, which method is shipped with the PhpWiki distribution? After all, both methods can be documented. Oliver |