mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
Fix ordering of things in last commit that was broken
I am a noob and should not merge my own pull requests. :(
This commit is contained in:
parent
2c15750c1b
commit
dfd8045587
@ -6,12 +6,12 @@ $project = 'app';
|
|||||||
global $database;
|
global $database;
|
||||||
$database = 'SS_ssdoc';
|
$database = 'SS_ssdoc';
|
||||||
|
|
||||||
require_once('conf/ConfigureFromEnv.php');
|
|
||||||
|
|
||||||
if (defined('SS_DATABASE_NAME')) {
|
if (defined('SS_DATABASE_NAME')) {
|
||||||
$database = SS_DATABASE_NAME;
|
$database = SS_DATABASE_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require_once('conf/ConfigureFromEnv.php');
|
||||||
|
|
||||||
MySQLDatabase::set_connection_charset('utf8');
|
MySQLDatabase::set_connection_charset('utf8');
|
||||||
|
|
||||||
SSViewer::set_theme('docs');
|
SSViewer::set_theme('docs');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user