public static function execute(Event $event)
{
self::copyFromElggToRoot("install/config/htaccess.dist", ".htaccess");
self::copyFromElggToRoot("index.php", "index.php");
self::copyFromElggToRoot("install.php", "install.php");
self::copyFromElggToRoot("upgrade.php", "upgrade.php");
$managed_plugins = ['blog', 'bookmarks', 'ckeditor', 'custom_index', 'dashboard', 'developers', 'diagnostics', 'discussions', 'embed', 'externalpages', 'file', 'garbagecollector', 'groups', 'invitefriends', 'legacy_urls', 'likes', 'logbrowser', 'logrotate', 'members', 'messageboard', 'messages', 'notifications', 'pages', 'profile', 'reportedcontent', 'search', 'site_notifications', 'tagcloud', 'thewire', 'twitter_api', 'uservalidationbyemail', 'web_services'];
foreach ($managed_plugins as $plugin) {
self::symlinkPluginFromRootToElgg($plugin);
}
}