Skip to content

Instantly share code, notes, and snippets.

@Patrick64
Created June 4, 2019 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Patrick64/f7ff67da19b74bdf9e0f1857913c93ad to your computer and use it in GitHub Desktop.
Save Patrick64/f7ff67da19b74bdf9e0f1857913c93ad to your computer and use it in GitHub Desktop.
$config['reesponsive_breakpoints'] = array(0,569,769,1025,1920);
$config['reesponsive_densities'] = array(1,2);
$protocol = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") ? "https://" : "http://";
$site_url = $protocol.$_SERVER['HTTP_HOST'];
$config['theme_folder_url'] = $site_url . '/themes/';
$config['theme_folder_path'] = $_SERVER['DOCUMENT_ROOT'] . '/themes';
$config['base_path'] = $_SERVER['DOCUMENT_ROOT'];
$config['base_url'] = $site_url;
$config['site_url'] = $site_url;
$config['upload_preferences'] = array(
6 => array( // ID of upload destination
'name' => 'Media', // Display name in control panel
'server_path' => $_SERVER['DOCUMENT_ROOT'] . '/images/uploads/media/', // Server path to upload directory
'url' => $site_url . '/images/uploads/media/' // URL of upload directory
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment