8000 [2.3] Static Code Analysis for Components by kalessil · Pull Request #17085 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[2.3] Static Code Analysis for Components #17085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Prev Previous commit
Next Next commit
Php Inspections (EA Extended): review before PR
  • Loading branch information
kalessil committed Dec 21, 2015
commit 017ba7f2603a687acf73bccce07e828339a242a7
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function __construct($savePath = null)
$baseDir = ltrim(strrchr($savePath, ';'), ';');
}

if ($baseDir && !file_exists($baseDir)&& !@mkdir($baseDir, 0777, true) && !is_dir($baseDir)) {
throw new \RuntimeException('Session Storage was not able to create a folder: '.$savePath);
if ($baseDir && !file_exists($baseDir) && !@mkdir($baseDir, 0777, true) && !is_dir($baseDir)) {
throw new \RuntimeException('Session Storage was not able to create a folder: '.$baseDir);
}

ini_set('session.save_path', $savePath);
Expand Down
0