We have set up a good number of symlinks in the /sites directory for clients so that they can have multiple domains point to their site (and behave in a variety of ways). It made sense for me to not include these in the multisite_api_site_list() function.
Index: multisite_api.module
===================================================================
@@ 408
while ($dir = readdir($handle)) {
- if (file_exists("sites/$dir/settings.php")) {
+ if ( file_exists("sites/$dir/settings.php") && !is_link('sites/' . $dir) ) {
$vars = _multisite_api_eval_file("sites/$dir/settings.php");
Comments
Comment #1
Routh commentedI have just taken over development of this module. I will be reviewing this issue and looking to patch the code to repair. I am tagging this so that all followers know I have acknowledged the problem.