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:

define('PERMISSIONS_MODEL', 'advanced');
define('CACHE_LIBRARY', 'apc');
define('DATE_FORM_HELPER_FORMAT_HOUR', '24');


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.

pvernaglia
 
Fernandos replied on at Permalink Reply
Fernandos
Hi!

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!
pvernaglia replied on at Permalink Reply
pvernaglia
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.
Fernandos replied on at Permalink Reply
Fernandos
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!
Mnkras replied on at Permalink Reply
Mnkras
most defines that you need are in /concrete/config/base.php and app.php
rickb replied on at Permalink Reply
rickb
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