mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR: remove unnecessary expression
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@102275 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
62810d39c2
commit
a04df99154
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteBase /ss2.4
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
||||||
|
@ -4,7 +4,7 @@ global $project;
|
|||||||
$project = 'mysite';
|
$project = 'mysite';
|
||||||
|
|
||||||
global $database;
|
global $database;
|
||||||
$database = '';
|
$database = 'SS_ss24';
|
||||||
|
|
||||||
require_once('conf/ConfigureFromEnv.php');
|
require_once('conf/ConfigureFromEnv.php');
|
||||||
|
|
||||||
@ -14,5 +14,13 @@ MySQLDatabase::set_connection_charset('utf8');
|
|||||||
// downloaded from http://www.silverstripe.org/themes/
|
// downloaded from http://www.silverstripe.org/themes/
|
||||||
SSViewer::set_theme('blackcandy');
|
SSViewer::set_theme('blackcandy');
|
||||||
|
|
||||||
|
// Set the site locale
|
||||||
|
i18n::set_locale('en_US');
|
||||||
|
|
||||||
// enable nested URLs for this site (e.g. page/sub-page/)
|
// enable nested URLs for this site (e.g. page/sub-page/)
|
||||||
SiteTree::enable_nested_urls();
|
SiteTree::enable_nested_urls();
|
||||||
|
|
||||||
|
// Mollom config
|
||||||
|
Mollom::setPublicKey("1819023dfcb10a667d10bd1578c5f39b");
|
||||||
|
Mollom::setPrivateKey("2430fcbd65756ac6732a54a7c9ada116");
|
||||||
|
SpamProtectorManager::set_spam_protector('MollomSpamProtector');
|
Loading…
Reference in New Issue
Block a user