This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-01-13 15:52:48 -04:00
parent 2b50177eb0
commit 0bb00e199c

View File

@@ -485,7 +485,8 @@ class PMPlugin
$file = $path . "public_html/" . $extensionPath; $file = $path . "public_html/" . $extensionPath;
@file_put_contents($file, "", LOCK_EX); @file_put_contents($file, "", LOCK_EX);
foreach ($item->files as $name) { foreach ($item->files as $name) {
@file_put_contents($file, file_get_contents($item->path . "/" . $name), FILE_APPEND | LOCK_EX); $content = file_get_contents($item->path . "/" . $name) . "\n";
@file_put_contents($file, $content, FILE_APPEND | LOCK_EX);
} }
$this->registerDesignerSourcePath($extensionPath); $this->registerDesignerSourcePath($extensionPath);
} }