Skip to content

Instantly share code, notes, and snippets.

@mherchel
Last active June 13, 2016 14:56
Show Gist options
  • Save mherchel/6472534a4362bb9677ec05669eece08a to your computer and use it in GitHub Desktop.
Save mherchel/6472534a4362bb9677ec05669eece08a to your computer and use it in GitHub Desktop.
#Import MYSQL
gzcat foo.sql.gz | mysql -uroot -ppassword foo
<?php
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'db',
'username' => 'root',
'password' => 'root',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);
$conf['stage_file_proxy_origin'] = 'http://www.site.com';
$conf['stage_file_proxy_origin_dir'] = 'sites/default/files';
$conf['file_private_path'] = '';
$conf['file_temporary_path'] = '/tmp';
$conf['theme_debug'] = true;
$conf['preprocess_css'] = 0; // disable css aggregation
$conf['preprocess_js'] = 0; // disable js aggregation
$conf['image_toolkit'] = 'gd';
$conf['ignore_site_directory_permissions'] = TRUE;
$dont_use_memcache = TRUE;
unset($conf['cache_backends']);
unset($conf['cache_default_class']);
unset($conf['cache_class_cache_form']);
unset($conf['consistent_cache_default_class']);
unset($conf['consistent_cache_default_safe']);
unset($conf['consistent_cache_buffer_mechanism']);
unset($conf['consistent_cache_default_strict']);
unset($conf['consistent_cache_strict_cache_bootstrap']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment