util = new Util(); $this->properties = new Properties(); $this->filesystem = new Filesystem($event_handler); $this->attachment = new Attachment(); $this->ftp = new Ftp($this->filesystem); $this->http = new Http($this->properties); $this->view_manager = new ViewManager($this->properties); $this->template_manager = new TemplateManager($event_handler); $this->zip_archive = new ZipArchive(); $this->admin_notices = new AdminNotices(); $this->properties->mu_plugin_version = 2; $this->properties->mu_plugin_dir = (defined('WPMU_PLUGIN_DIR') && defined('WPMU_PLUGIN_URL')) ? WPMU_PLUGIN_DIR : trailingslashit(WP_CONTENT_DIR) . 'mu-plugins'; $this->properties->mu_plugin_source = trailingslashit($this->properties->plugin_dir_path) . 'compatibility/importwp-compatibility.php'; $this->properties->mu_plugin_dest = trailingslashit($this->properties->mu_plugin_dir) . 'importwp-compatibility.php'; $this->compatibility_manager = new CompatibilityManager($this->properties, $this->filesystem); } }