Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Commit

Permalink
coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
gimler committed Jun 6, 2011
1 parent f07f3a1 commit 3c16b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cache/sfRawFileCache.class.php
Expand Up @@ -64,7 +64,7 @@ protected function write($path, $data, $timeout)
if (!is_dir(dirname($path)))
{
// create directory structure if needed
mkdir(dirname($path) , 0777, true);
mkdir(dirname($path), 0777, true);
}

$tmpFile = tempnam(dirname($path) , basename($path));
Expand Down Expand Up @@ -144,7 +144,7 @@ protected function getGlobPatterns(sfRoute $route)
$paths = array();
for($i=$depth; $i<=$routeOptions['max_folder_depth']; $i++)
{
$paths[] = $pathBase.$pathStart.str_repeat('*/', $i - $depth).'*'.$pathEnd;;
$paths[] = $pathBase.$pathStart.str_repeat('*/', $i - $depth).'*'.$pathEnd;
}
return $paths;
}
Expand Down

0 comments on commit 3c16b1a

Please sign in to comment.