isDir()) { \mkdir($path . DIRECTORY_SEPARATOR . $iterator->getSubPathName()); } else { \copy($item, $path . DIRECTORY_SEPARATOR . $iterator->getSubPathName()); } } } if (\is_file("{$path}/ckeditor.js")) { $this->addCss('ckeditor.less'); $this->addJs('ckeditor.js'); } } }