Permalink
Browse files

Moniro update to file construction.

  • Loading branch information...
1 parent 95c1ab3 commit 289a4e9085ed5b2de0ad937b0ee48111c8a76e2b @predominant predominant committed Mar 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/file.php
View
@@ -97,7 +97,7 @@ function __construct($path, $create = false, $mode = 0755) {
$this->name = basename($path);
}
$this->pwd();
- !$this->exists() && $create === true && $this->safe($path) && $this->create();
+ !$this->exists() && $create && $this->safe($path) && $this->create();
}
/**
* Closes the current file if it is opened

0 comments on commit 289a4e9

Please sign in to comment.