function error in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
Exit on error.
Parameters
string $message: A message to write to sdderr.
3 calls to error()
- 000-acquia_required_scrub.php in acsf_init/
lib/ cloud_hooks/ common/ post-db-copy/ 000-acquia_required_scrub.php - Scrubs a site after its database has been copied.
- get_db in acsf_init/
lib/ cloud_hooks/ acquia/ db_connect.php - Initiates a connection to a specified database.
- uri.php in acsf_init/
lib/ cloud_hooks/ acquia/ uri.php
8 string references to 'error'
- acsf_init_default_settings_php_create in acsf_init/
acsf_init.drush.inc - Re-creates the default settings.php file.
- acsf_init_default_settings_php_update in acsf_init/
acsf_init.drush.inc - Updates the default settings.php with the ACSF specific script include.
- drush_acsf_init in acsf_init/
acsf_init.drush.inc - Command callback: executes the required changes to this repository.
- drush_acsf_init_patch_htaccess in acsf_init/
acsf_init.drush.inc - Patches the htaccess file to allow access to our apc_rebuild.php script.
- drush_acsf_post_go_offline in ./
acsf.drush.inc - Runs after a go-offline command executes. Verifies maintenance mode.
File
- acsf_init/
lib/ cloud_hooks/ acquia/ db_connect.php, line 14 - This file provides helper functions for running Acquia Cloud hooks.
Code
function error($message) {
fwrite(STDERR, $message);
exit(1);
}