Skip to content
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

Permission settings help #79

Merged
merged 2 commits into from Dec 14, 2011
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/Annotations/FileCacheReader.php
Expand Up @@ -43,7 +43,7 @@ public function __construct(Reader $reader, $cacheDir, $debug = false)
throw new \InvalidArgumentException(sprintf('The directory "%s" does not exist and could not be created.', $cacheDir));
}
if (!is_writable($cacheDir)) {
throw new \InvalidArgumentException(sprintf('The directory "%s" is not writable.', $cacheDir));
throw new \InvalidArgumentException(sprintf('The directory "%s" is not writable. Both, the webserver and the console user need access. See "permissions" on http://symfony.com/doc/2.0/book/installation.html for further information.', $cacheDir));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doctrine Common should not link to the Symfony2 doc as it is not tied to Symfony at all

}

$this->dir = rtrim($cacheDir, '\\/');
Expand Down