[wp-hackers] List of constants

Otto otto at ottodestruct.com
Tue Sep 29 18:42:39 UTC 2009


It's possible you might want to create a new instance of wpdb at some
point and connect it to another set of tables (in the same database).

Constants can't be redefined during runtime. Globals can.

-Otto



On Tue, Sep 29, 2009 at 1:36 PM, Ozh <ozh at planetozh.com> wrote:
> On Tue, Sep 29, 2009 at 7:44 PM, Otto <otto at ottodestruct.com> wrote:
>> A fair number of the ones that matter are listed in this article:
>> http://codex.wordpress.org/Editing_wp-config.php
>>
>
> Something I've never wondered before: any reason $table_prefix is a
> var while all other stuff are consts? Or is it just legacy?
>
> --
> http://planetOzh.com ~ Blog and WordPress Stuff
> http://FrenchFragFactory.net ~ Daily Quake News
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list