Site.php defaults
Permalink 1 user found helpful
Does a list exist of things that can be defined in site.php? Besides the default settings I have used:
If there isn't a list of them already I will compile one if people will tell me things they have used and know work.
If there isn't a list of them already I will compile one if people will tell me things they have used and know work.
Pretty impressive when you see them all in one place like that, but for example, the data form helper format, is not in that list.
So maybe I should have said how about a list of the more common and useful things you might use in site.php. It's a list I would like to have on hand so I don't have to go digging for the information.
So maybe I should have said how about a list of the more common and useful things you might use in site.php. It's a list I would like to have on hand so I don't have to go digging for the information.
Not sure how renatable that list is in terms of effort/efficiency. You don't need to use your time for this if you don't want :)
still, that's kind of you!
still, that's kind of you!
most defines that you need are in /concrete/config/base.php and app.php
The Japanese list is far from complete and isn't that much use for me (coz I don't read Japanese, alas). It would be a good idea to have a separate summary of things useful in site.php.
I'll add two more to the three at the top of this post:
// whether to use BASE_URL always
define('REDIRECT_TO_BASE_URL', false);
// whether to use URL rewriting in all links
// (prevents this being turned off on the dashboard)
define('URL_REWRITING_ALL', true);
Rick
I'll add two more to the three at the top of this post:
// whether to use BASE_URL always
define('REDIRECT_TO_BASE_URL', false);
// whether to use URL rewriting in all links
// (prevents this being turned off on the dashboard)
define('URL_REWRITING_ALL', true);
Rick
You don't need to do that work. There is already a list of constants. See here:
http://www.concrete5.org/community/forums/documentation_efforts/lis...
But nice of you.
Have a nice Weekend!