Fixing parse error in PHP4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4216 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2006-12-27 09:17:45 +00:00
parent 9e6ab9a541
commit aa6d4959fd

View file

@ -193,13 +193,13 @@ class File extends Object{
if (file_exists($dir) && is_dir($dir) && is_writable($dir) && !$this->exists()) {
if (!touch($this->getFullPath())) {
print ("[File] Could not create {$this->getName()}!");
print ('[File] Could not create '.$this->getName().'!');
return false;
} else {
return true;
}
} else {
print ("[File] Could not create {$this->getName()}!");
print ('[File] Could not create '.$this->getName().'!');
return false;
}
}