Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Travis CI and make it use SQLite
- Loading branch information
Sam Minnee
committed
Aug 14, 2012
1 parent
4d1c2ed
commit 0e08840
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
global $project; | ||
$project = 'mysite'; | ||
|
||
global $database; | ||
$database = ''; | ||
|
||
require_once('conf/ConfigureFromEnv.php'); | ||
|
||
global $databaseConfig; | ||
$databaseConfig['memory'] = true; | ||
$databaseConfig['path'] = dirname(dirname(__FILE__)) .'/assets/'; | ||
|
||
MySQLDatabase::set_connection_charset('utf8'); | ||
|
||
// Set the current theme. More themes can be downloaded from | ||
// http://www.silverstripe.org/themes/ | ||
SSViewer::set_theme('simple'); | ||
|
||
// Enable nested URLs for this site (e.g. page/sub-page/) | ||
if(class_exists('SiteTree')) SiteTree::enable_nested_urls(); |
This file contains 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
This file contains 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