Default Prefixes

spflanze - June 1, 2009 - 03:10
Project:Shared Sign-On
Version:5.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am adding subdomains to a pre-existing site. Needless to say the pre-exisitng site, which will be the main site, already has a database without prefixes. So I want to know if there would be any problems with leaving the 'default' element in the $db_prefix array set to an empty string for the main site ('default' => ''), while giving this element unique prefix strings for each of the site's subdomains.

I have written php code to add prefixes to the tables that will be shared.

I also need to know if the prefix given the default element is arbitrary or if it has to be named after the subdomain.

 
 

Drupal is a registered trademark of Dries Buytaert.