function _acquia_migrate_process_setup in Acquia Connector 6.2
Same name and namespace in other branches
- 7.2 acquia_agent/acquia_agent.migrate.inc \_acquia_migrate_process_setup()
Ensure this response can work through migration.
4 calls to _acquia_migrate_process_setup()
- acquia_migrate_batch_db in acquia_agent/
acquia_agent.migrate.inc - acquia_migrate_batch_tar in acquia_agent/
acquia_agent.migrate.inc - acquia_migrate_batch_test in acquia_agent/
acquia_agent.migrate.inc - acquia_migrate_batch_transmit in acquia_agent/
acquia_agent.migrate.inc
File
- acquia_agent/
acquia_agent.migrate.inc, line 105 - Upload to Acquia Cloud.
Code
function _acquia_migrate_process_setup() {
if (!defined('OS_WINDOWS') && defined('PHP_OS') && in_array(PHP_OS, array(
'WINNT',
'WIN32',
'Windows',
))) {
// OS_WINDOWS constant used by Archive_Tar.
define('OS_WINDOWS', TRUE);
}
// Load any required include files.
_acquia_migrate_check_env();
// If not in 'safe mode', increase the maximum execution time:
if (!ini_get('safe_mode') && strpos(ini_get('disable_functions'), 'set_time_limit') === FALSE && ini_get('max_execution_time') < 1200) {
set_time_limit(variable_get('acquia_migrate_max_time', 1200));
}
}