Skip to content

Commit

Permalink
fix import and allow null value for original_title
Browse files Browse the repository at this point in the history
  • Loading branch information
devfake committed Dec 15, 2016
1 parent 6c2674c commit 93e527d
Show file tree
Hide file tree
Showing 5 changed files with 442 additions and 4 deletions.
2 changes: 2 additions & 0 deletions backend/app/Http/Controllers/SettingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function export()
*/
public function import(ImportRequest $request)
{
set_time_limit(300);

$file = $request->file('import');
$extension = $file->getClientOriginalExtension();

Expand Down
3 changes: 2 additions & 1 deletion backend/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"laravel/framework": "5.3.*",
"laravel/scout": "^1.1",
"guzzlehttp/guzzle": "^6.2",
"algolia/algoliasearch-client-php": "^1.10"
"algolia/algoliasearch-client-php": "^1.10",
"doctrine/dbal": "^2.5"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
Expand Down
Loading

0 comments on commit 93e527d

Please sign in to comment.