Skip to main content

Questions tagged [config-overrides]

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

How do I set X-Frame-Options in config.php

I need to be able to display content from one EE site on another using an iFrame. By default X-Frame-Options for EE is set to "SAMEORIGIN". I know this is set in Core, so I don't want to do the ...
forrest's user avatar
  • 1,068
3 votes
1 answer
90 views

Expresso Store: payment gateway settings in filesystem

Is it possible to store payment gateway settings in the file system, eg config.php? For example, I might want to have different settings for different environments, eg test gateway API for staging ...
Cole Henley's user avatar
1 vote
1 answer
59 views

Using FocusLab MasterConfig Upload Preferences

I'm using FocusLab MasterConfig to set my upload preferences but strangely only the name of the Upload preference gets set by my code. Here is the code in config.master.php $resources_folder = '...
dorothy Dorothy's user avatar
0 votes
1 answer
198 views

Will Focus Lab EE Master Config work as-is on EE3?

I have used Focus Lab's EE Master Config on every EE2 site I've built, since I heard about it. Now I am working on a site in EE3, and wondering, will this setup work as-is for EE3, or will it require ...
Gary Reckard's user avatar
0 votes
1 answer
414 views

What's the correct syntax for setting up memcached caching driver in EE 2.8+ with socket?

In EE 2.8 and above, you can select 'Memcached' as your 'Caching Driver' under "Admin" => "General Configuration". I am using one of Nexcess' "ExpressionEngine optimized" hosting plans, which lists "...
Gary Reckard's user avatar
0 votes
1 answer
78 views

running 2 sites on 1 installation

I'm going down the classic route of 2 sites within 1 install for a client who has a multi-lingual site with Transcribe. For those not familiar with that approach, here's the background. What we're ...
Steven Grant's user avatar
  • 2,473
-4 votes
1 answer
73 views

How Do You Kll EE's 40-Headed Error-Reporting Dagon? [closed]

Tbe main think I love about errors not displaying them on the screen viewing production systems. My phone rings less, people are happier. Everything is logged, nothing to the screen. We have a ...
DanAllen's user avatar
  • 101
0 votes
2 answers
172 views

Sub domain serving ce-img 'made' images

Basically I want to serve "made" images from the subdomain for one of my File Upload locations. I've seen a couple of posts on how you can use ce-img to handle local sub domains but they weren't ...
stuartmcd69's user avatar
  • 3,163
2 votes
0 answers
67 views

system overrides for session timeouts -- deprecated?

There's a note in the docs (here) talking about cp_session_ttl and user_session_ttl overrides being replaced as part of the 2.8 update. But I can't see anything about it in the changelogs. Am I ...
RickL's user avatar
  • 603
0 votes
0 answers
42 views

Third party path MX Maps

Hopefully I'm missing something obvious but cannot get MX Maps to work with custom third party theme folders. The module appears fine when using the config_override for: 'third_party_path' for ...
stuartmcd69's user avatar
  • 3,163
2 votes
1 answer
270 views

File structure for a staging site is different from production

On my current project the production site has the following folder structure: --system --config --public_html -assets -index.php -admin.php -etc. But, the staging site I need to create is ...
Sergio Acosta's user avatar
0 votes
1 answer
169 views

overrides in config.php site_url and templatefiles

I have two questions for you: changing the settings for the site_url with $config['site_url'] = "http://domain/"; in config.php works as expected in some places. But the paths in the channel ...
David S's user avatar
  • 143
2 votes
1 answer
3k views

Set "site_url" Config Variable in index.php

I'm upgrading a multi-language site from EE1 to EE2, and it's using the technique of duplicating index.php and path.php inside subdirectories named for each language, and defining global language ...
kmgdev's user avatar
  • 2,724
1 vote
1 answer
124 views

Change file upload size units from bytes to kilobytes?

A client has a request that the file size units in upload preferences be changed to a more familiar unit of KB (Kilobytes). It does make sense to me as well, as most operating systems display the file ...
Dan Johnson's user avatar
  • 1,110
1 vote
3 answers
127 views

Seeking three specific config variables

I've been trying to figure out how to set three specific CP settings via my config file and can't find a reference for the necessary variables. Maybe somebody can point me in the right direction. I'm ...
RickL's user avatar
  • 603
1 vote
1 answer
48 views

Deny Multiple Login Override in config

Is there a way to disable Deny Multiple Logins via a $config override? Thank you.
dikaio's user avatar
  • 75
2 votes
1 answer
141 views

What does $config['disable_all_tracking'] do?

Not sure how to choose to set $env_config['disable_all_tracking'] = 'y' or 'no'; When documentation says if set to 'y' some of the below settings are disregarded /* Tracking --------------------------...
C Calabrese's user avatar
4 votes
3 answers
255 views

theme_folder_url issue

Should be a quick one for the EE add-on devs out there. Most add-ons do support having: $config['path_third_themes'] = $base_path . "/assets/third_themes/"; $config['url_third_themes'] = $...
Steven Grant's user avatar
  • 2,473
7 votes
1 answer
641 views

Difference between assign_to_config and config (and or env_config)

I'm using EE Master Config along with Stash. I know in Master Config that all the configs have been changed from $config[''] to $env_config[''] I noticed with Stash that Mark is using this format: $...
Natetronn's user avatar
  • 2,654
4 votes
1 answer
351 views

Control Panel (CP) Link Button is not working

There's a button in the top right corner of every EE install that links to the front-end of the site. On one of my installs it's returning: http:/// instead of the site's address. Where can I ...
Jeremy Latham's user avatar
2 votes
3 answers
2k views

How to set the default template group in index.php

I'm running multiple domains/sites with one EE install without using MSM (I don't need the power or complexity and to save licence fees). I have copied the index.php file to the subsidiary domain and ...
Paul Frost's user avatar
7 votes
2 answers
970 views

How do I assign custom global variables from my config file?

I'm currently developing custom config files. Some of my files are deeply located in my architecture and I want to use some of my variables in the config as specific tag. Example : {site_url}assets/...
Simon's user avatar
  • 278
5 votes
2 answers
297 views

Disabling Postmaster from sending emails using a config.php override

Is it possible to disable Postmaster from sending emails using a config.php override? I've got a development version of a site and it'd be good if I could disable the emails from sending when I'm ...
Stephen's user avatar
  • 1,349