This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FileETag None | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Force www | |
RewriteCond %{HTTP_HOST} ^example.com$ [NC] | |
RewriteRule ^(.*)$ http://www.example.com$1 [R=301,L] | |
# Uncomment to Remove www, but comment the above 2 lines out. :) | |
# Otherwise the world will end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/* | |
|-------------------------------------------------------------------------- | |
| ExpressionEngine Config Items | |
|-------------------------------------------------------------------------- | |
| | |
| The following items are for use with ExpressionEngine. The rest of | |
| the config items are for use with CodeIgniter, some of which are not | |
| observed by ExpressionEngine, e.g. 'permitted_uri_chars' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
if ($_SERVER['SERVER_ADDR'] == '') { | |
$active_group = 'staging'; | |
} elseif ($_SERVER['SERVER_ADDR'] == '208.73.210.85') { /* using qa-zone.com */ | |
$active_group = 'production'; | |
} else { | |
$active_group = 'development'; | |
} | |
$active_record = TRUE; |
NewerOlder