comparison core/tests/bootstrap.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 1fec387a4317
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
64 $path = "$sites_path/$site"; 64 $path = "$sites_path/$site";
65 $paths[] = is_dir("$path/modules") ? realpath("$path/modules") : NULL; 65 $paths[] = is_dir("$path/modules") ? realpath("$path/modules") : NULL;
66 $paths[] = is_dir("$path/profiles") ? realpath("$path/profiles") : NULL; 66 $paths[] = is_dir("$path/profiles") ? realpath("$path/profiles") : NULL;
67 $paths[] = is_dir("$path/themes") ? realpath("$path/themes") : NULL; 67 $paths[] = is_dir("$path/themes") ? realpath("$path/themes") : NULL;
68 } 68 }
69 return array_filter($paths); 69 return array_filter($paths, 'file_exists');
70 } 70 }
71 71
72 /** 72 /**
73 * Registers the namespace for each extension directory with the autoloader. 73 * Registers the namespace for each extension directory with the autoloader.
74 * 74 *