Skip to content

Commit

Permalink
To support multiple platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartheyrman22 authored Feb 28, 2018
1 parent 5ab0001 commit 38a9461
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HeadlessChrome.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public function toPDF($PDFFilename = null){
$PDFFilename .= '.pdf';
}

$location = $this->getOutputDirectory() . '\\' . $PDFFilename;
$location = $this->getOutputDirectory() . DIRECTORY_SEPARATOR . $PDFFilename;
$this->filePath = $location;

$specific_arguments = [
Expand Down Expand Up @@ -272,7 +272,7 @@ public function toScreenShot($imageFilename = null) {
$imageFilename .= '.jpg';
}

$location = $this->getOutputDirectory() . '\\' . $imageFilename;
$location = $this->getOutputDirectory() . DIRECTORY_SEPARATOR . $imageFilename;
$this->filePath = $location;

$specific_arguments = [
Expand Down Expand Up @@ -347,4 +347,4 @@ public function getFilePath(){
return $this->filePath;
}

}
}

0 comments on commit 38a9461

Please sign in to comment.