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

Added file storage implementation #4

Merged
merged 2 commits into from
Mar 15, 2013
Merged

Conversation

daviddesberg
Copy link
Contributor

dot dot dot

@DaveRandom
Copy link

-1 not enough jQuery


public function get($id)
{
return json_decode( file_get_contents($this->pathTo($id) ));

Choose a reason for hiding this comment

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

file_get_contents() without a file_exists check? You like errors, don't you?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am in love with them.

@igorw igorw merged commit 088ef09 into igorw:master Mar 15, 2013
@igorw
Copy link
Owner

igorw commented Mar 15, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants