#12 #16 settings service and timezone/currency setting

This commit is contained in:
Nabeel Shahzad
2017-06-20 15:03:51 -05:00
parent 85610aeec6
commit 7d92c68870
8 changed files with 766 additions and 603 deletions

22
config/settings.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
return array(
// which type of store to use.
// valid options: 'json', 'database'
'store' => 'json',
// if the json store is used, give the full path to the .json file
// that the store writes to.
'path' => storage_path().'/settings.json',
// if the database store is used, set the name of the table used..
'table' => 'settings',
// If the database store is used, you can set which connection to use. if
// set to null, the default connection will be used.
'connection' => null,
// If you want to use custom column names in database store you could
// set them in this configuration
'keyColumn' => 'key',
'valueColumn' => 'value'
);