Permalink
Browse files

MINOR Made the default database directory relative to assets ".db" wh…

…ich is more precise than ".sqlitedb" (from r101619)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112010 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 2bf9d6f commit 6f693570be8581d0ee3743430b870c95adc3ea73 @sminnee sminnee committed Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 _register_database.php
View
@@ -40,7 +40,7 @@
'fields' => array(
'path' => array(
'title' => 'Database path<br /><small>Absolute path, writeable by the webserver user.<br />Recommended to be outside of your webroot</small>',
- 'default' => realpath(dirname($_SERVER['SCRIPT_FILENAME'])) . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . '.sqlitedb'
+ 'default' => realpath(dirname($_SERVER['SCRIPT_FILENAME'])) . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . '.db'
),
'database' => array(
'title' => 'Database name',

0 comments on commit 6f69357

Please sign in to comment.