mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #12660 from cakephp/issue-12657-2x
2.x - Don't break UNC file paths
This commit is contained in:
commit
001adaa8cd
1 changed files with 0 additions and 2 deletions
|
@ -764,8 +764,6 @@ class Shell extends CakeObject {
|
|||
* @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::createFile
|
||||
*/
|
||||
public function createFile($path, $contents) {
|
||||
$path = str_replace(DS . DS, DS, $path);
|
||||
|
||||
$this->out();
|
||||
|
||||
if (is_file($path) && empty($this->params['force']) && $this->interactive === true) {
|
||||
|
|
Loading…
Reference in a new issue