8000 [Config] additions from ResourceWatcher by everzet · Pull Request #4619 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Config] additions from ResourceWatcher #4619

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

Merged
merged 11 commits into from
Jun 20, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Config] use is_file in FileResource::exists()
file resource existence check shouldn't return true if there's
directory with same name instead of file.
  • Loading branch information
everzet committed Jun 20, 2012
commit 56b60c8d460d2de1a82c2890c538531bf5aa6fdc
2 changes: 1 addition & 1 deletion src/Symfony/Component/Config/Resource/FileResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function isFresh($timestamp)
*/
public function exists()
{
return file_exists($this->resource);
return is_file($this->resource);
}

/**
Expand Down
0