[development] Accommodating a second base_url
kb at 2bits.com
Fri Oct 30 02:44:25 UTC 2009
> $base_url = $base_root . $base_path;
And in addition to that, the base_path() function provides you with
the subdirectory name if that is all you are after.
If you have all the domains/subdomains in Apache's vhosts pointing
to the same directory/subdirectory, then all you need is the code in
template.php. The $base_url, including the subdirectory will all be
the same for all the domains/subdomains.
Khalid M. Baheyeldin
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the ultimate sophistication. -- Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development