This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/fcntl.h> | |
#include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- actions/script.action.inc | |
+++ actions/script.action.inc | |
@@ -1,6 +1,10 @@ | |
<?php | |
function views_bulk_operations_script_action_info() { | |
+##GardensExcludeFromExportStart################################################ | |
+// Make it impossible on Gardens sites to execute PHP scripts via VBO. | |
+return array(); | |
+##################################################GardensExcludeFromExportEnd## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- media.module | |
+++ media.module | |
@@ -435,6 +435,19 @@ function media_page_alter(&$page) { | |
} | |
/** | |
+ * Implements hook_menu_local_tasks_alter(). | |
+ */ | |
+function media_menu_local_tasks_alter(&$data, $router_item, $root_path) { | |
+ // Even if there aren't any action links on admin/content/media (e.g., if |
NewerOlder