mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
9e6ab9a541
commit
aa6d4959fd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue