Skip to content

Commit

Permalink
Finally fix Linux :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saibamen committed Aug 19, 2015
1 parent 31466ec commit 87adc67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function diff_versions($leftContent, $rightContent)
{
if (!$regex->isDot())
{
$file = glob($regex->getPathInfo() ."\*{". $fileSearch ."}*.". $fileExt, GLOB_BRACE);
$file = glob($regex->getPathInfo() ."/*{". $fileSearch ."}*.". $fileExt, GLOB_BRACE);

$isFile = array_filter($file);

Expand Down
2 changes: 1 addition & 1 deletion encoding.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
{
if (!$regex->isDot())
{
$file = glob($regex->getPathInfo() ."\*{". $fileSearch ."}*.". $fileExt, GLOB_BRACE);
$file = glob($regex->getPathInfo() ."/*{". $fileSearch ."}*.". $fileExt, GLOB_BRACE);

$isFile = array_filter($file);

Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
{
if (!$regex->isDot())
{
$file = glob($regex->getPathInfo() ."\*{". $fileSearch ."}*.". $fileExt, GLOB_BRACE);
$file = glob($regex->getPathInfo() ."/*{". $fileSearch ."}*.". $fileExt, GLOB_BRACE);

$isFile = array_filter($file);
if (empty($isFile))
Expand Down

0 comments on commit 87adc67

Please sign in to comment.