Support » Installing WordPress » custom table names

  • created errors for me on install. I renamed all tables to mm-* and it gave a syntax error on line 1. Setting it back to the original names made it work again…

Viewing 3 replies - 1 through 3 (of 3 total)
  • On a like note…
    I noticed that several table names are located in seperate files with no indication that they’re seperate. (e.g. the table names in b2config.php and links/links.config.php)
    Can I propose that b2config contain a $TABLE_PREFIX value that is universally applied to the table names? This would allow folks to have one location where modifications to table names can occur.

    The problem with moving to a prefix system now is we’d have to address poeple who currently have custom table names. It’s a good idea though, much cleaner.

    Sure, the way I modified the code was to simply do
    $tableName = $TablePrefix.’tableName’;
    folks who want special names simply keep the prefix set to ” and modify the individual table names.
    More importantly, there just needs to be more consistency in how things are referred. Just because PHP has screwy names for stuff doesn’t mean we have to continue the tradition 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom table names’ is closed to new replies.