Here's a patch to move all the $config[][] to common_config()
Hope it helps.

if i push this to my git clone and requested a merge as well (mainly to see
how git works :) ).

Thanks,
-Eric Helgeson


On Mon, Mar 9, 2009 at 1:57 PM, Evan Prodromou <[email protected]>wrote:

> Eric wrote:
>
>> Why not use:
>>
>> common_config('site', 'ssl) like all the other places config's are used?
>>
>> Actually now looking through, common_config and global $config; are both
>> used.
>>
> >
>
>> Is there a preference of one over another? (should it be standardized?)
>>
>
> That's a historical artifact; common_config() is the preferred way to do it
> now.
>
> -Evan
>

Attachment: fix_global_config.patch
Description: Binary data

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to