When an index.php file is not found in the root of the project this role will search through the 1st level subdirectories to attempt to find an index.php file. If found it will set beet_root to this directory.
This will only run if you haven't overridden the default beet_root.
In the case where you have multiple subdirectories with an index.php and no index.php in the root the last one found will be used, however you still have the option to override beet_root to set the default path as above.
If you need multiple virtual hosts you can still define them by overriding apache_vhosts.
Proposed Changes
When an
index.php
file is not found in the root of the project this role will search through the 1st level subdirectories to attempt to find anindex.php
file. If found it will setbeet_root
to this directory.This will only run if you haven't overridden the default
beet_root
. In the case where you have multiple subdirectories with anindex.php
and noindex.php
in the root the last one found will be used, however you still have the option to overridebeet_root
to set the default path as above. If you need multiple virtual hosts you can still define them by overridingapache_vhosts
.Relates To
Notify