Modules | |
| Symlink functions | |
Functions | |
| _multi_scan_sites ($symlinks=TRUE) | |
| _multi_available_installations () | |
| _multi_previous_installations () | |
| _multi_previous_installation () | |
| _multi_relative_path ($target) | |
| _multi_available_installations | ( | ) |
Returns all available drupal installations of your major release in form of 'drupal-'${MAJOR}.${MINOR} found in the parent directory of DRUPAL_ROOT sorted by usort with 'strnatcmp' callback
0 if none was found
Definition at line 448 of file multi.inc.
Referenced by _multi_previous_installation(), and _multi_previous_installations().
| _multi_previous_installation | ( | ) |
Return the previous drupal installation in form of 'drupal-'${MAJOR}.${MINOR} found in the parent directory of DRUPAL_ROOT in the filesystem, else FALSE via drush_set_error
Definition at line 503 of file multi.inc.
References _multi_available_installations(), and _multi_current_version().
| _multi_previous_installations | ( | ) |
Return all previous drupal installations in form of 'drupal-'${MAJOR}.${MINOR} found in the parent directory of DRUPAL_ROOT in the filesystem or an empty array if not available.
Definition at line 473 of file multi.inc.
References _multi_available_installations(), and _multi_current_version().
Referenced by multi_status().
| _multi_relative_path | ( | $ | target | ) |
Return the relative path from the current working directory(getcwd()) to target.
based on http://de.php.net/ref.filesystem from http://iubito.free.fr
| string | folder or file |
Definition at line 533 of file multi.inc.
Referenced by _multi_preserve_symlinks(), and drush_multi_create().
| _multi_scan_sites | ( | $ | symlinks = TRUE |
) |
Finds all sites within the drupal installation (DRUSH_DRUPAL_ROOT), by searching for a settings.php which indicates a drupal-site. and check for a valid $db_url for database connections.
| boolean | $symlinks Allows symlink site folders |
Definition at line 254 of file multi.inc.
Referenced by _multi_check_site(), and multi_status().
1.5.8