From 5cbade72919f444ee2043e9212b316408baab083 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 24 Mar 2010 10:21:04 +0000 Subject: [PATCH] MINOR Made SQLite path in installer use DIRECTORY_SEPARATOR so it shows as correct on Windows using backslashes instead of forwardslashes - this is more of a cosmetic thing, as slashes can be interchanged and still parsed correctly by PHP git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101618 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- _register_database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_register_database.php b/_register_database.php index 7c5b6c22a..58d98b2fb 100644 --- a/_register_database.php +++ b/_register_database.php @@ -40,7 +40,7 @@ DatabaseAdapterRegistry::register( 'fields' => array( 'path' => array( 'title' => 'Database path
Absolute path, writeable by the webserver user.
Recommended to be outside of your webroot
', - 'default' => realpath(dirname($_SERVER['SCRIPT_FILENAME'])) . '/assets/.sqlitedb' + 'default' => realpath(dirname($_SERVER['SCRIPT_FILENAME'])) . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . '.sqlitedb' ), 'database' => array( 'title' => 'Database name',