mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 22:28:37 +02:00
MINOR Made the default database directory relative to assets ".db" which is more precise than ".sqlitedb"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101619 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5cbade7291
commit
00c6e4fa78
@ -40,7 +40,7 @@ DatabaseAdapterRegistry::register(
|
|||||||
'fields' => array(
|
'fields' => array(
|
||||||
'path' => array(
|
'path' => array(
|
||||||
'title' => 'Database path<br /><small>Absolute path, writeable by the webserver user.<br />Recommended to be outside of your webroot</small>',
|
'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(
|
'database' => array(
|
||||||
'title' => 'Database name',
|
'title' => 'Database name',
|
||||||
|
Loading…
Reference in New Issue
Block a user