#16 update scaffolding and remove accidentally committed settings file
This commit is contained in:
@@ -3,6 +3,7 @@ APP_KEY=base64:ve66Z5Kt/zTN3p++0zOPu854PHfZkwJE5VuoFAlzHtI=
|
|||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_LOG_LEVEL=debug
|
APP_LOG_LEVEL=debug
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
APP_SETTINGS_STORE=json
|
||||||
|
|
||||||
DB_CONNECTION=local
|
DB_CONNECTION=local
|
||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
@@ -3,6 +3,7 @@ APP_KEY=base64:ve66Z5Kt/zTN3p++0zOPu854PHfZkwJE5VuoFAlzHtI=
|
|||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_LOG_LEVEL=debug
|
APP_LOG_LEVEL=debug
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
APP_SETTINGS_STORE=json
|
||||||
|
|
||||||
DB_CONNECTION=testing
|
DB_CONNECTION=testing
|
||||||
|
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@ app/storage/
|
|||||||
public/storage
|
public/storage
|
||||||
public/hot
|
public/hot
|
||||||
storage/*.key
|
storage/*.key
|
||||||
|
storage/settings.json
|
||||||
.env.*.php
|
.env.*.php
|
||||||
.env.php
|
.env.php
|
||||||
.env
|
.env
|
||||||
|
|||||||
@@ -12,36 +12,4 @@ return [
|
|||||||
'rouble',
|
'rouble',
|
||||||
],
|
],
|
||||||
|
|
||||||
'timezones' => [
|
|
||||||
'-12' => '(GMT -12:00) Eniwetok, Kwajalein',
|
|
||||||
'-11' => '(GMT -11:00) Midway Island, Samoa',
|
|
||||||
'-10' => '(GMT -10:00) Hawaii',
|
|
||||||
'-9' => '(GMT -9:00) Alaska',
|
|
||||||
'-8' => '(GMT -8:00) Pacific Time (US & Canada)',
|
|
||||||
'-7' => '(GMT -7:00) Mountain Time (US & Canada)',
|
|
||||||
'-6' => '(GMT -6:00) Central Time (US & Canada), Mexico City',
|
|
||||||
'-5' => '(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima',
|
|
||||||
'-4' => '(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz',
|
|
||||||
'-3.5' => '(GMT -3:30) Newfoundland',
|
|
||||||
'-3' => '(GMT -3:00) Brazil, Buenos Aires, Georgetown',
|
|
||||||
'-2' => '(GMT -2:00) Mid-Atlantic',
|
|
||||||
'-1' => '(GMT -1:00) Azores, Cape Verde Islands',
|
|
||||||
'0' => '(GMT) Western Europe Time, London, Lisbon, Casablanca',
|
|
||||||
'1' => '(GMT +1:00) Brussels, Copenhagen, Madrid, Paris',
|
|
||||||
'2' => '(GMT +2:00) Kaliningrad, South Africa',
|
|
||||||
'3' => '(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg',
|
|
||||||
'3.5' => '(GMT +3:30) Tehran',
|
|
||||||
'4' => '(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi',
|
|
||||||
'4.5' => '(GMT +4:30) Kabul',
|
|
||||||
'5' => '(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent',
|
|
||||||
'5.5' => '(GMT +5:30) Bombay, Calcutta, Madras, New Delhi',
|
|
||||||
'6' => '(GMT +6:00) Almaty, Dhaka, Colombo',
|
|
||||||
'7' => '(GMT +7:00) Bangkok, Hanoi, Jakarta',
|
|
||||||
'8' => '(GMT +8:00) Beijing, Perth, Singapore, Hong Kong',
|
|
||||||
'9' => '(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk',
|
|
||||||
'9.5' => '(GMT +9:30) Adelaide, Darwin',
|
|
||||||
'10' => '(GMT +10:00) Eastern Australia, Guam, Vladivostok',
|
|
||||||
'11' => '(GMT +11:00) Magadan, Solomon Islands, New Caledonia',
|
|
||||||
'12' => '(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka'
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
return array(
|
return array(
|
||||||
// which type of store to use.
|
// which type of store to use.
|
||||||
// valid options: 'json', 'database'
|
// valid options: 'json', 'database'
|
||||||
'store' => 'json',
|
'store' => env('APP_SETTINGS_STORE', 'database'),
|
||||||
|
|
||||||
// if the json store is used, give the full path to the .json file
|
// if the json store is used, give the full path to the .json file
|
||||||
// that the store writes to.
|
// that the store writes to.
|
||||||
|
|||||||
@@ -26,9 +26,10 @@ class CreateSettingsTable extends Migration
|
|||||||
$table->increments('id');
|
$table->increments('id');
|
||||||
$table->string($this->keyColumn)->index();
|
$table->string($this->keyColumn)->index();
|
||||||
$table->text($this->valueColumn);
|
$table->text($this->valueColumn);
|
||||||
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
|
|
||||||
Setting::set('timezone', '0');
|
Setting::set('timezone', 'UTC');
|
||||||
Setting::set('currency', 'dollar');
|
Setting::set('currency', 'dollar');
|
||||||
Setting::save();
|
Setting::save();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
{"foo":"bar"}
|
|
||||||
Reference in New Issue
Block a user