Skip to content

Instantly share code, notes, and snippets.

@mkorostoff
Created May 12, 2014 19:47
Show Gist options
  • Save mkorostoff/0c993ee6bad319ded98c to your computer and use it in GitHub Desktop.
Save mkorostoff/0c993ee6bad319ded98c to your computer and use it in GitHub Desktop.
<?php
include_once DRUPAL_ROOT . "/sites/golfchanneldev.prod.acquia-sites.com/settings.php";
$conf['stage_file_proxy_origin'] = 'http://www.golfchannel.com';
$conf['refresh_score_pages'] = FALSE;
$conf['gfc_customers_api_golfnow_url'] = 'http://develop.gnsvc.com/V1.1/TeeTimesAPIRest.svc/';
$conf['https'] = FALSE;
$cookie_domain = '.golfchannel.local';
// $conf['securepages_basepath'] = 'http://golfchannel.local';
// $conf['securepages_basepath_ssl'] = 'https://secure.golfchannel.local';
// //set $base_url for ssl pages to prevent redirect errors from https to http pages
// if($_SERVER['SERVER_PORT'] == 443) {
// $base_url = 'http://golfchannel.local';
// }
// Define max-age of 30 second for the user alert callback
if (isset($_GET['q']) && strpos($_GET['q'], 'js/user-alert/get-message') === 0) {
$conf['cache_lifetime'] = 30;
$conf['page_cache_maximum_age'] = 30;
}
//D7 DB config
$databases = array('default' => array('default' => array(
'driver' => 'mysql',
'database' => 'golfchannel2',
'username' => 'matt',
'password' => '',
'host' => '127.0.0.1',
'port' => 3306 )));
//</@@ADCP_CONF@@>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment