Skip to content

Instantly share code, notes, and snippets.

@MattWilcox
Last active August 29, 2015 14:04
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 MattWilcox/6dd0ac022d71c117d941 to your computer and use it in GitHub Desktop.
Save MattWilcox/6dd0ac022d71c117d941 to your computer and use it in GitHub Desktop.
<?php
/**
* General Configuration
*
* All of your system's general configuration settings go in here.
* You can see a list of the default settings in craft/app/etc/config/defaults/general.php
*
* Find out what you can use in this file here: http://buildwithcraft.com/docs/config-settings
*/
return array(
'*' => array(
'omitScriptNameInUrls' => true, // Whether Craft should omit the script filename currently being used to access Craft (e.g. index.php) when generating URLs
'cpTrigger' => 'secretadmin', // The URI segment Craft should look for when determining if the current request should route to the CP rather than the front-end website
'maxUploadFileSize' => '16777216', // 16Mb
'phpMaxMemoryLimit' => '128M', // The maximum amount of memory Craft will try to reserve during memory intensive operations such as zipping, unzipping and updating
'searchIgnoreWords' => array('a','the','and', 'as', 'if'), // Words that should be ignored when indexing search keywords and preparing search terms to be matched against the keyword index
'purgePendingUsersDuration' => 'P1W', // If a user hasn't confirmed their registration in under a week, delete it.
'activateAccountFailurePath' => array('en' => '/en/accounts/activation-failed',
'cy' => '/cy/accounts/activation-failed'), // Where to send failed account activations (only from front-end registration forms)
'activateAccountSuccessPath' => array('en' => '/en/accounts/activation-succeeded',
'cy' => '/cy/accounts/activation-succeeded') // Where to send successful account activations (only from front-end registration forms)
),
'.local' => array(
'devMode' => true, // See http://buildwithcraft.com/help/dev-mode
'testToEmailAddress' => 'mattw@viewcreative.co.uk', // Configures Craft to send all system emails to a single email address, for testing purposes
'siteUrl' => array(
'en' => 'http://conwyarts.website.local/en/',
'cy' => 'http://conwyarts.website.local/cy/',
),
'environmentVariables' => array(
'fileSystemPath' => '/Users/matt/Sites/bs_conwyarts/_bespoke/public'
),
),
'.myvcsite.com' => array(
'siteUrl' => array(
'en' => 'http://conwyarts.website.myvcsite.com/en/',
'cy' => 'http://conwyarts.website.myvcsite.com/cy/',
),
'environmentVariables' => array(
'fileSystemPath' => '/var/www/bs_conwyarts/_bespoke/public/'
),
),
'conwyartsdirectory.co.uk' => array(
'siteUrl' => array(
'en' => 'http://conwyartsdirectory.co.uk/en/',
'cy' => 'http://conwyartsdirectory.co.uk/cy/',
),
'environmentVariables' => array(
'fileSystemPath' => '/NEEDSSETTING/'
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment