Skip to content

Commit

Permalink
add DIRECTORY_SEPARATOR in temp path for uploaded database
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed Mar 31, 2017
1 parent b1d1303 commit 5e52c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/UpdateDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$io->title('Update the GeoIP2 database');
$this->stopwatch->start('update');

$tmp = sys_get_temp_dir().basename($target);
$tmp = sys_get_temp_dir().DIRECTORY_SEPARATOR.basename($target);

$io->comment(sprintf('Beginning download of file: %s', $url));

Expand Down

0 comments on commit 5e52c56

Please sign in to comment.