diff --git a/install.php b/install.php index 138bf1e..2177033 100644 --- a/install.php +++ b/install.php @@ -520,7 +520,16 @@ class Installer extends InstallRequirements { // Write the config file - $template = $_POST['template'] == 'tutorial' ? 'tutorial' : 'mysite'; + $template = $_POST['template'] == 'tutorial' ? 'tutorial' : 'mysite'; + + $theme = ''; + if($_POST['template'] == 'default') { + $theme = <<Creating '$template/_config.php'..."; flush(); @@ -550,6 +559,8 @@ global \$databaseConfig; // the line below: //Director::set_environment_type('dev'); + +$theme ?> PHP