Upgrade installer

This commit is contained in:
Damian Mooyman 2016-08-30 14:35:44 +12:00
parent ba721842c5
commit 3df2ddde13
3 changed files with 12 additions and 11 deletions

View File

@ -9,5 +9,8 @@
************************************************************************************ ************************************************************************************
************************************************************************************/ ************************************************************************************/
if (!file_exists('framework') || !file_exists('framework/_config.php')) include "install-frameworkmissing.html"; if (!file_exists('framework') || !file_exists('framework/_config.php')) {
else include('./framework/dev/install/install.php'); include "install-frameworkmissing.html";
} else {
include('./framework/Dev/Install/install.php');
}

View File

@ -7,9 +7,7 @@ After:
# YAML configuration for SilverStripe # YAML configuration for SilverStripe
# See http://doc.silverstripe.org/framework/en/topics/configuration # See http://doc.silverstripe.org/framework/en/topics/configuration
# Caution: Indentation through two spaces, not tabs # Caution: Indentation through two spaces, not tabs
SSViewer: SilverStripe\View\SSViewer:
themes: themes:
- 'simple' - 'simple'
- '$default' - '$default'
Debug:
friendly_error_httpcode: true

View File

@ -1,15 +1,15 @@
<!-- <!--
PHPUnit configuration for SilverStripe PHPUnit configuration for SilverStripe
Requires PHPUnit 3.5+ Requires PHPUnit 3.5+
Usage: Usage:
- "phpunit": Runs all tests in all folders - "phpunit": Runs all tests in all folders
- "phpunit framework/tests/": Run all tests of the framework module - "phpunit framework/tests/": Run all tests of the framework module
- "phpunit framework/tests/filesystem": Run all filesystem tests within the framework module - "phpunit framework/tests/filesystem": Run all filesystem tests within the framework module
- "phpunit framework/tests/filesystem/FolderTest.php": Run a single test - "phpunit framework/tests/filesystem/FolderTest.php": Run a single test
- "phpunit <dash><dash>coverage-html assets/": Generate coverage report (replace <dash> with "-", requires xdebug) - "phpunit <dash><dash>coverage-html assets/": Generate coverage report (replace <dash> with "-", requires xdebug)
More information: More information:
- http://www.phpunit.de/manual/current/en/textui.html - http://www.phpunit.de/manual/current/en/textui.html
- http://doc.silverstripe.org/framework/en/topics/testing/#configuration - http://doc.silverstripe.org/framework/en/topics/testing/#configuration
@ -24,11 +24,11 @@
<directory>framework/tests</directory> <directory>framework/tests</directory>
<directory>framework/admin/tests</directory> <directory>framework/admin/tests</directory>
</testsuite> </testsuite>
<listeners> <listeners>
<listener class="SS_TestListener" file="framework/dev/TestListener.php" /> <listener class="SilverStripe\Dev\SS_TestListener" file="framework/Dev/SS_TestListener.php" />
</listeners> </listeners>
<groups> <groups>
<exclude> <exclude>
<group>sanitychecks</group> <group>sanitychecks</group>