diff --git a/conf/ConfigureFromEnv.php b/conf/ConfigureFromEnv.php new file mode 100644 index 000000000..c71e840c2 --- /dev/null +++ b/conf/ConfigureFromEnv.php @@ -0,0 +1,52 @@ + "MySQLDatabase", + "server" => defined('SS_DATABASE_SERVER') ? SS_DATABASE_SERVER : 'localhost', + "username" => SS_DATABASE_USERNAME, + "password" => SS_DATABASE_PASSWORD, + "database" => (defined('SS_DATABASE_PREFIX') ? SS_DATABASE_PREFIX : '') + . $database + . (defined('SS_DATABASE_SUFFIX') ? SS_DATABASE_SUFFIX : ''), +); + +if(defined('SS_SEND_ALL_EMAILS_TO')) { + Email::send_all_emails_to(SS_SEND_ALL_EMAILS_TO); +} diff --git a/conf/_manifest_exclude b/conf/_manifest_exclude new file mode 100644 index 000000000..e69de29bb